Closed ecorm closed 8 years ago
Provide wrappers similar to basicRpc and basicEvent for handlers intended to be run as coroutines. For example:
basicRpc
basicEvent
session->enroll(Topic("sensor_updated"), basicCoroEvent<float>( [&](float value, boost::asio::yield_context yield) { session->call(Rpc("log_value").withArgs(value), yield); }
Provide wrappers similar to
basicRpc
andbasicEvent
for handlers intended to be run as coroutines. For example: