Skip to content

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 ​

ParameterTypeDescription
ownerHotSwapOwnerOwner registration for one managed container.

Returns ​

Callback that removes the registration.

() => void