Interface: ContainerProviderOptions
Defined in: src/wirestate-lit/provision/container-provider.ts:30
Represents options for ContainerProvider.
Remarks
Pass either container or config. Passing both is an error.
Properties
config?
readonly optional config?: CreateContainerOptions;Defined in: src/wirestate-lit/provision/container-provider.ts:50
Managed container creation options.
Remarks
The managed container is created when the host connects, disposed when it disconnects, and recreated on the next reconnect. Managed containers activate all entries by default unless activate is provided explicitly. The provider value is undefined while the host is disconnected.
container?
readonly optional container?: Container;Defined in: src/wirestate-lit/provision/container-provider.ts:39
External container instance to provide as-is.
Remarks
External containers are never activated, recreated, or disposed by this provider. They are published through context while the host is connected. Provider lifecycle hooks run while the host is connected.