Skip to main content

napi_delete_strong_sendable_reference

Function napi_delete_strong_sendable_reference 

Source
pub unsafe extern "C" fn napi_delete_strong_sendable_reference(
    env: napi_env,
    ref_: napi_sendable_ref,
) -> napi_status
Available on crate features napi and api-22 only.
Expand description

Deletes the strong sendable reference passed in.

§Arguments

  • env - Current running virtual machine context.

  • ref - The sendable reference to be deleted.

§Returns

  • Returns the function execution status. [napi_ok] If the function executed successfully.

[napi_invalid_arg] If env or ref is nullptr.

Available since API-level: 22