PlaidEx.MultiTenant.Tenant (plaid_ex v1.0.0)

Copy Markdown View Source

GenServer representing an active tenant context.

Holds the tenant's config, provides a process boundary for tenant-scoped operations, and registers in the TenantRegistry.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(arg)

@spec start_link({String.t(), PlaidEx.Config.t()}) :: GenServer.on_start()