Opaque handle to a JS object that the bridge has registered with the WASM module.

The shape (an integer slot id, a GC root token, an externref) varies by bridge. Consumers must treat the handle as opaque and round-trip it only through Bridge.fromWasmObject and Bridge.release.

interface WasmObjectHandle {
    __kind: "WasmObjectHandle";
}

Properties

Properties

__kind: "WasmObjectHandle"