Foresight.Supervisor (Foresight v0.1.0)

Copy Markdown View Source

The embeddable supervision entry point.

Starting Foresight.Supervisor under your application's supervisor boots the runtime — storage, queues, and the optional HTTP and MCP faces — from application config. Embedders use this instead of the OTP application's own top-level start, so the runtime belongs to the consuming app's tree.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)