fun BaseFuture.onComplete(emitter: (future: BaseFuture) -> Unit): Unit
Raised whenever an operation has been completed. It's not yet defined, if the operation has been successful. |
|
fun BaseFuture.onFailure(emitter: (failedReason: String) -> Unit): Unit
Raised whenever an operation has failed |
|
fun BaseFuture.onSuccess(emitter: () -> Unit): Unit
Raised whenever an operation is successful |