Skip to content

Profectus / game/layers / UnregisterNodeInjectionKey

Variable: UnregisterNodeInjectionKey ​

const UnregisterNodeInjectionKey: InjectionKey<(id) => void>

An injection key that a Context component will use to provide a function that unregisters a FeatureNode with the given id.

Defined in ​

profectus/src/game/layers.tsx:39