Presto v0.1.2 Presto.PageSupervisor View Source

DynamicSupervisor to handle the creation of dynamic Presto.Page processes.

These processes will spawn for each page_id provided to the Presto.Page.start_link function.

Functions contained in this supervisor module will assist in the creation and retrieval of new page processes.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Starts the supervisor

Starts a supervised Presto.Page process

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Starts the supervisor.

Link to this function start_page(page_module, page_key, initial_model \\ %{}) View Source

Starts a supervised Presto.Page process.