Function: registerHotSwapOwner()
ts
function registerHotSwapOwner(owner: HotSwapOwner): () => void;Defined in: src/wirestate-core/hot/hot-owner.ts:64
Registers a provider as the hot-swap owner of its managed container.
Parameters
| Parameter | Type | Description |
|---|---|---|
owner | HotSwapOwner | Owner registration for one managed container. |
Returns
Callback that removes the registration.
() => void