LemonAi.ProviderSupervisor (lemon_ai v0.1.0)

View Source

DynamicSupervisor for per-provider services.

Rate limiters (LemonAi.RateLimiter) and circuit breakers (LemonAi.CircuitBreaker) are started as children here on demand, one set per provider, so a misbehaving provider's limiter or breaker can restart without affecting the others.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts \\ [])

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