libcoro  1.0
Coroutine support library for C++20

◆ publish()

template<typename T , typename Lock = nolock>
template<typename ... Args>
void coro::distributor< T, Lock >::publish ( Args &&...  args)
inline

publish the value

Parameters
argsarguments to construct payload
Note
function is blocked until all subscribers are notified.

Definition at line 71 of file distributor.h.