v1.0 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.