Expand description
Global endpoint registry shared by all FFI adapters.
Centralises the Slab<IrohEndpoint> that was previously triplicated
across Node, Deno, and Tauri adapters. Handles are u64, consistent
with stream handles from slotmap.
Functionsยง
- close_
all_ endpoints - Drain the entire registry and force-close every endpoint.
- get_
endpoint - Look up an endpoint by handle (cheap
Arcclone). - insert_
endpoint - Insert an endpoint into the global registry and return its handle.
- remove_
endpoint - Remove an endpoint from the registry, returning it if it existed.