Home > flowp > Channel > tryReceive
Channel.tryReceive() method
try receive one message
Signature:
tryReceive(): T | undefined;
Returns:
T | undefined
message T
or undefined
if no messages in the queue
Home > flowp > Channel > tryReceive
try receive one message
Signature:
tryReceive(): T | undefined;
Returns:
T | undefined
message T
or undefined
if no messages in the queue