napi_remove_async_cleanup_hook

Function napi_remove_async_cleanup_hook 

Source
pub unsafe extern "C" fn napi_remove_async_cleanup_hook(
    remove_handle: napi_async_cleanup_hook_handle,
) -> napi_status
Available on crate features napi and api-11 only.
Expand description

Unregisters the asynchronous clean-up hook.

§Arguments

  • remove_handle - Optional handle that refers to the asynchronous cleanup.

§Returns

  • Returns the function execution status.

Available since API-level: 11