Skip to content

v1.0 Release

Compare
Choose a tag to compare
@benlau benlau released this 21 Oct 05:28
· 59 commits to master since this release

API

Future.isFinished(future)

Returns true if the asynchronous computation represented by this future has finished; otherwise returns false.

Future.onFinished(future, callback)

The callback will be invoked when the watched future finishes.

Future.promise(future)

Create a promise object which will be resolved when the future has finished. It must have QuickPromise installed and setup properly before using this function.