IAsyncActionProvider.AsyncAction (METH)¶
METHOD AsyncAction
The action of a BackgroundTask is modeled as a method of a function block instance (AsyncAction)
and will be cyclically called until the return value xComplete indicating a condition that the
current asynchronous operation is now completed and the method can then provided with a new parameter.
The input parameter itfParam is a “generic pointer” (interface) to a data structure containing the
current parameter values (SHD.IQueueableNode).
The result of the AsyncAction is made available to the foreground task via the IAsyncActionProvider.AsyncResult property.
- InOut:
- Scope - Name - Type - Comment - Input - itfParam- SHD.IQueueableNode- Data structure containing the current parameter values - Output - xComplete- BOOL- TRUE=> indicating that the current asynchronous operation is now completed