pub unsafe extern "C" fn napi_open_escapable_handle_scope(
env: napi_env,
result: *mut napi_escapable_handle_scope,
) -> napi_statusAvailable on crate feature
napi only.Expand description
Opens an escapable handle scope from which the declared values can be returned to the outer scope.
§Arguments
-
env- Current running virtual machine context. -
result- The new scope.
§Returns
- Returns the function execution status.
[
napi_ok] If the function executed successfully.
[napi_invalid_arg] If env or result is nullptr.
Available since API-level: 10