一款简单易用的基础网络通讯组件库。

AsyncWaitDataTIValueTaskSourceWaitDataStatusOnCompleted 方法

Schedules the continuation action for this IValueTaskSourceTResult.

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
void IValueTaskSource<WaitDataStatus>.OnCompleted(
	Action<Object> continuation,
	Object state,
	short token,
	ValueTaskSourceOnCompletedFlags flags
)

参数

continuation  ActionObject
The continuation to invoke when the operation has completed.
state  Object
The state object to pass to continuation when it's invoked.
token  Int16
An opaque value that was provided to the ValueTask constructor.
flags  ValueTaskSourceOnCompletedFlags
The flags describing the behavior of the continuation.

实现

IValueTaskSourceTResultOnCompleted(ActionObject, Object, Int16, ValueTaskSourceOnCompletedFlags)

参见