Skip to content

Class: InstanceSlotHandle ​

Defined in: src/SlotHandles.ts:8

Owning JS handle for a WASM SSRuntimeInstanceSlot. destroy() frees the WASM handle and cancels the GC finalizer; the FinalizationRegistry is a safety net for handles that are dropped without an explicit destroy().

Constructors ​

Constructor ​

new InstanceSlotHandle(): InstanceSlotHandle

Defined in: src/SlotHandles.ts:11

Returns ​

InstanceSlotHandle

Properties ​

raw ​

raw: SSRuntimeInstanceSlot

Defined in: src/SlotHandles.ts:9

Methods ​

destroy() ​

destroy(): void

Defined in: src/SlotHandles.ts:16

Returns ​

void