UNPKG

nstdlib-nightly

Version:

Node.js standard library converted to runtime-agnostic ES modules.

115 lines (97 loc) 3.43 kB
// Auto generated from Node.js v22.7.0 runtime export const setupHooks = (...args) => globalThis.node_binding_async_wrap_setupHooks?.(...args); export const setCallbackTrampoline = (...args) => globalThis.node_binding_async_wrap_setCallbackTrampoline?.(...args); export const pushAsyncContext = (...args) => globalThis.node_binding_async_wrap_pushAsyncContext?.(...args); export const popAsyncContext = (...args) => globalThis.node_binding_async_wrap_popAsyncContext?.(...args); export const executionAsyncResource = (...args) => globalThis.node_binding_async_wrap_executionAsyncResource?.(...args); export const clearAsyncIdStack = (...args) => globalThis.node_binding_async_wrap_clearAsyncIdStack?.(...args); export const queueDestroyAsyncId = (...args) => globalThis.node_binding_async_wrap_queueDestroyAsyncId?.(...args); export const setPromiseHooks = (...args) => globalThis.node_binding_async_wrap_setPromiseHooks?.(...args); export const getPromiseHooks = (...args) => globalThis.node_binding_async_wrap_getPromiseHooks?.(...args); export const registerDestroyHook = (...args) => globalThis.node_binding_async_wrap_registerDestroyHook?.(...args); export const async_hook_fields = new Uint32Array(); export const async_id_fields = new Float64Array(); export const execution_async_resources = []; export const async_ids_stack = new Float64Array(); export const constants = { "kInit": 0, "kBefore": 1, "kAfter": 2, "kDestroy": 3, "kPromiseResolve": 4, "kTotals": 5, "kCheck": 6, "kExecutionAsyncId": 0, "kTriggerAsyncId": 1, "kAsyncIdCounter": 2, "kDefaultTriggerAsyncId": 3, "kUsesExecutionAsyncResource": 8, "kStackLength": 7 }; export const Providers = { "NONE": 0, "DIRHANDLE": 1, "DNSCHANNEL": 2, "ELDHISTOGRAM": 3, "FILEHANDLE": 4, "FILEHANDLECLOSEREQ": 5, "BLOBREADER": 6, "FSEVENTWRAP": 7, "FSREQCALLBACK": 8, "FSREQPROMISE": 9, "GETADDRINFOREQWRAP": 10, "GETNAMEINFOREQWRAP": 11, "HEAPSNAPSHOT": 12, "HTTP2SESSION": 13, "HTTP2STREAM": 14, "HTTP2PING": 15, "HTTP2SETTINGS": 16, "HTTPINCOMINGMESSAGE": 17, "HTTPCLIENTREQUEST": 18, "JSSTREAM": 19, "JSUDPWRAP": 20, "MESSAGEPORT": 21, "PIPECONNECTWRAP": 22, "PIPESERVERWRAP": 23, "PIPEWRAP": 24, "PROCESSWRAP": 25, "PROMISE": 26, "QUERYWRAP": 27, "QUIC_ENDPOINT": 28, "QUIC_LOGSTREAM": 29, "QUIC_PACKET": 30, "QUIC_SESSION": 31, "QUIC_STREAM": 32, "QUIC_UDP": 33, "SHUTDOWNWRAP": 34, "SIGNALWRAP": 35, "STATWATCHER": 36, "STREAMPIPE": 37, "TCPCONNECTWRAP": 38, "TCPSERVERWRAP": 39, "TCPWRAP": 40, "TTYWRAP": 41, "UDPSENDWRAP": 42, "UDPWRAP": 43, "SIGINTWATCHDOG": 44, "WORKER": 45, "WORKERHEAPSNAPSHOT": 46, "WRITEWRAP": 47, "ZLIB": 48, "CHECKPRIMEREQUEST": 49, "PBKDF2REQUEST": 50, "KEYPAIRGENREQUEST": 51, "KEYGENREQUEST": 52, "KEYEXPORTREQUEST": 53, "CIPHERREQUEST": 54, "DERIVEBITSREQUEST": 55, "HASHREQUEST": 56, "RANDOMBYTESREQUEST": 57, "RANDOMPRIMEREQUEST": 58, "SCRYPTREQUEST": 59, "SIGNREQUEST": 60, "TLSWRAP": 61, "VERIFYREQUEST": 62 }; const __default_export__ = { setupHooks, setCallbackTrampoline, pushAsyncContext, popAsyncContext, executionAsyncResource, clearAsyncIdStack, queueDestroyAsyncId, setPromiseHooks, getPromiseHooks, registerDestroyHook, async_hook_fields, async_id_fields, execution_async_resources, async_ids_stack, constants, Providers }; export default __default_export__;