Xirsys.Sockets.TierSupervisor.Task (xturn_sockets v2.2.1)

View Source

Named supervisor for pipeline tiers with dispatch: :task.

What problem this solves

Some descended tiers should run asynchronously without a hard concurrency cap. :task dispatch lazily starts one TierSession per tier per owner under this supervisor (unbounded by default via :max_children :infinity).

Internal note

Thin wrapper around TierSupervisor registered as TierSupervisor.Task.

RFCs

  • No STUN/TURN RFC; OTP supervision for async tier workers

Summary

Functions

Starts TierSupervisor registered as this module.

Functions

start_link(opts \\ [])

Starts TierSupervisor registered as this module.

Parameters

  • opts - :max_children (default :infinity)