HandlePromises extension

on

Methods

enableHandlePromises() → dynamic

Available on JavascriptRuntime, provided by the HandlePromises extension

handlePromise(JsEvalResult value, {Duration? timeout}) Future<JsEvalResult>

Available on JavascriptRuntime, provided by the HandlePromises extension

isFulfilledPromise(int idx) bool

Available on JavascriptRuntime, provided by the HandlePromises extension

isPendingPromise(int idx) bool

Available on JavascriptRuntime, provided by the HandlePromises extension