FutureOfJSAnyToJSPromise<T extends JSAny?> extension

Conversions from Future to JSPromise where the Future returns a value.

on

Properties

toJS JSPromise<T>

Available on Future<T>, provided by the FutureOfJSAnyToJSPromise extension

A JSPromise that either resolves with the result of the completed Future or rejects with an object that contains its error.
no setter