FutureOfVoidToJSPromise extension

Conversions from Future to JSPromise where the Future does not return a value.

on

Properties

toJS → JSPromise<JSAny?>

Available on Future<void>, provided by the FutureOfVoidToJSPromise extension

A JSPromise that either resolves once this Future completes or rejects with its error if it is a JS value and otherwise rejects with a JSWrappedPromiseError that wraps its Dart error value.
no setter