WaitForReadT Method (IChannel`1T) |
Suspend coroutine until the channel has an element that can be read.
Namespace:
Demo3D.Native
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 17.00.05
Syntaxpublic static Result<T> ForRead<T>(
IChannel<T> channel
)
Parameters
- channel
- Type: IChannelT
The channel to wait until not empty.
Type Parameters
- T
- Type of element in channel.
Return Value
Type:
ResultTA future result value that will receive the element from the channel.
See Also