evoq_pm_instance_sup (evoq v1.12.0)

View Source

Supervisor for process manager instances.

Uses simple_one_for_one strategy for dynamic PM instance creation.

Summary

Functions

Start the PM instance supervisor.

Stop a PM instance.

Functions

start_instance(PMModule, ProcessId, Config)

-spec start_instance(atom(), binary(), map()) -> {ok, pid()} | {error, term()}.

Start a new PM instance.

start_link()

-spec start_link() -> {ok, pid()} | {error, term()}.

Start the PM instance supervisor.

stop_instance(Pid)

-spec stop_instance(pid()) -> ok | {error, term()}.

Stop a PM instance.