dwrtc / ch.hsr.dsl.dwrtc.util / net.tomp2p.futures.BaseFuture / onComplete

onComplete

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.

Parameters

emitter - callable, when the operation has been completed