Suspend coroutine until the channel can accept the write.
Namespace:
Demo3D.Native
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic static ITask ForWrite<T>(
IChannel<T> channel,
T obj
)
Parameters
- channel
- Type: Demo3D.EventQueueIChannelT
The channel to wait until not full. - obj
- Type: T
The object to add to the channel.
Type Parameters
- T
- Type of element in channel.
Return Value
Type:
ITaskA task representing the wait for channel write to complete.
See Also