pub fn create_hook_context() -> HookContextExpand description
Creates a new HookContext allocated via Box::leak.
The allocated memory lives for the remainder of the program and will
never be freed. This is acceptable for WASM single-threaded contexts
where DynamicNode instances persist for the application lifetime.
ยงReturns
HookContext: A handle to the newly allocated hook context.