withCoroutines

fun Broker.withCoroutines(scope: CoroutineScope): BrokerCoroutines

Extension for the Broker interface to integrate with coroutines.

Return

a BrokerCoroutines instance.

Parameters

scope

the CoroutineScope to be used with the broker.