ASM.Session.GuardSupervisor (ASM v0.12.0)

Copy Markdown View Source

Dynamic supervisor for ASM.Session.OwnerGuard processes.

Guards are siblings of the session subtrees they watch, never children of them, so terminating a subtree never terminates the process performing the termination.

Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a guard that stops session_id when owner goes down.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

guard(supervisor, session_id, owner, subtree)

Starts a guard that stops session_id when owner goes down.

start_link(opts)

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