PlaidEx.Support.DynamicSupervisorBase (plaid_ex v1.0.0)

Copy Markdown View Source

Shared boilerplate for :one_for_one DynamicSupervisors that need no custom init/1 options. Used by PlaidEx.MultiTenant.TenantSupervisor and PlaidEx.Reliability.CircuitBreakerSupervisor, which are otherwise identical aside from their child-management functions.

Usage

defmodule MySupervisor do
  use PlaidEx.Support.DynamicSupervisorBase
end