napi_create_sendable_array

Function napi_create_sendable_array 

Source
pub unsafe extern "C" fn napi_create_sendable_array(
    env: napi_env,
    result: *mut napi_value,
) -> napi_status
Available on crate features napi and api-12 only.
Expand description

Create a sendable array.

§Arguments

  • env - The environment that the API is invoked under.

  • result - A napi_value representing a sendable array.

§Returns

  • Return the function execution status.

Available since API-level: 12