pub unsafe extern "C" fn napi_get_uv_event_loop(
env: napi_env,
loop_: *mut *mut uv_loop_s,
) -> napi_statusAvailable on crate feature
napi only.Expand description
Obtains the current libuv loop instance.
§Arguments
-
env- Current running virtual machine context. -
loop- Libuv event loop.
§Returns
- Returns the function execution status.
[
napi_ok] If the function executed successfully.
[napi_invalid_arg] If env or loop is nullptr.
[napi_generic_failure] If env is invalid.
Available since API-level: 10