Wiki.SiteMatrix.Default (mediawiki_client v0.5.3)

View Source

Optional singleton to hold a shared SiteMatrix.

Summary

Functions

Returns a specification to start this module under a supervisor.

Get the singleton SiteMatrix.

Start a single SiteMatrix which will be shared by all code in this instance. Intended to be started from your Application.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_or_start()

@spec get_or_start() :: Wiki.SiteMatrix.sitematrix_state()

Get the singleton SiteMatrix.

start_link(opts \\ [])

Start a single SiteMatrix which will be shared by all code in this instance. Intended to be started from your Application.