IOAsyncDelegateT Delegate |
Delegate for IO with the peer.
Namespace:
Demo3D.PLC.Comms
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic delegate Task<bool> IOAsyncDelegate<T>(
bool sync,
T request,
Object? userState
)
where T : VectoredRequest
Parameters
- sync
- Type: SystemBoolean
If true, the Task returned is guaranteed to be complete. - request
- Type: T
The IO request. - userState
- Type: SystemObject
User state (or null).
Type Parameters
- T
- Type of VectoredRequest.
Return Value
Type:
TaskBooleanTrue if the request succeeded.
See Also