dwrtc / ch.hsr.dsl.dwrtc.util / net.tomp2p.dht.FutureGet / onGet

onGet

fun <T> FutureGet.onGet(emitter: (data: T?, future: BaseFuture) -> Unit): Unit

A response has been received (for one element).

Parameters

emitter - callable, when the response has been received