quickjs-emscripten • quickjs-emscripten-core • Readme | Exports
quickjs-emscripten / quickjs-emscripten-core / JSPromiseStatePending
Pending promise state. See JSPromiseState.
type:
"pending"
packages/quickjs-emscripten-core/src/deferred-promise.ts:21
get
error():Error
The error property here allows unwrapping a JSPromiseState with QuickJSContext#unwrapResult. Unwrapping a pending promise will throw a QuickJSPromisePending error.
Error
packages/quickjs-emscripten-core/src/deferred-promise.ts:26
Generated using typedoc-plugin-markdown and TypeDoc