PhoenixReplay.Export.Supervisor (PhoenixReplay v0.6.2)

Copy Markdown View Source

Supervises video export: PhoenixReplay.Export.Runtime, which starts the endpoint and Playwright on demand, PhoenixReplay.Export.Queue.Local, which queues jobs, and the task supervisor jobs run under.

The tasks start after the server, so a server that restarts takes its running jobs with it rather than leaving them to report to nobody.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the export supervisor, as the application does.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)

@spec start_link(keyword()) :: Supervisor.on_start()

Starts the export supervisor, as the application does.