Single-slot registry handle returned by {@link createSlotRegistry}SlotRegistry
Interface
projects/core/utils/registry.ts
Import#
import { SlotRegistry } from '@cngx/core/utils'
Instance Properties#
Readonly
The currently registered handle, or null.
Methods#
register(handle: T)
Claims the slot. Last write wins.
unregister(handle: T)
Releases the slot - but only while handle still holds it. A stale
holder releasing after a successor claimed the slot is a no-op.