Skip to content

Latest commit

 

History

History
64 lines (35 loc) · 1.86 KB

JSPromiseStateFulfilled.md

File metadata and controls

64 lines (35 loc) · 1.86 KB

quickjs-emscriptenquickjs-emscripten-coreReadme | Exports


quickjs-emscripten / quickjs-emscripten-core / JSPromiseStateFulfilled

Interface: JSPromiseStateFulfilled

Fulfilled promise state. See JSPromiseState.

Contents

Properties

error?

error?: undefined

Source

packages/quickjs-emscripten-core/src/deferred-promise.ts:36


notAPromise?

notAPromise?: boolean

Trying to get the promise state of a non-Promise value returns a fulfilled state with the original value, and notAPromise: true.

Source

packages/quickjs-emscripten-core/src/deferred-promise.ts:38


type

type: "fulfilled"

Source

packages/quickjs-emscripten-core/src/deferred-promise.ts:34


value

value: QuickJSHandle

Source

packages/quickjs-emscripten-core/src/deferred-promise.ts:35


Generated using typedoc-plugin-markdown and TypeDoc