Jido. Memory. ProviderBootstrap
(Jido Memory v1.0.0)
View Source
Caller-owned bootstrap helpers for providers that need supervised processes.
The bootstrap contract is intentionally light:
- providers may export
child_specs/1 - callers own supervision and startup strategy
- core runtime never starts provider infrastructure implicitly
Summary
Functions
Returns true when the provider exports child_specs/1.
Returns provider child specs when the provider exports child_specs/1.
Returns provider bootstrap metadata without starting any processes.
Types
Functions
@spec bootstrappable?(provider_input()) :: boolean()
Returns true when the provider exports child_specs/1.
@spec child_specs( provider_input(), keyword() ) :: {:ok, [Supervisor.child_spec()]} | {:error, term()}
Returns provider child specs when the provider exports child_specs/1.
@spec describe( provider_input(), keyword() ) :: {:ok, %{ provider: module(), opts: keyword(), child_specs: [Supervisor.child_spec()], provider_info: Jido.Memory.ProviderInfo.t(), ownership: :caller }} | {:error, term()}
Returns provider bootstrap metadata without starting any processes.