Promise
Functions
Link copied to clipboard
Wait for the Future to complete using Kotlin Coroutines. Will return errors rather than throwing an exception.
Link copied to clipboard
Convenience method to resolve a promise with an error.
Link copied to clipboard
Give a callback when the Future completes.
Link copied to clipboard
Link copied to clipboard
Returns a new Future
which times out after the specified duration.