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.
emitter - callable, when the operation has been completed
emitter