GameActionAcceptAsync Method
Asynchronously accepts the specified visitor by calling the appropriate method.
Namespace: ProjectLCore.GameActionsAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
public Task AcceptAsync(
IAsyncActionProcessor visitor,
CancellationToken cancellationToken = default
)
- visitor IAsyncActionProcessor
- The visitor to accept.
- cancellationToken CancellationToken (Optional)
- Cancellation token to observe while waiting for the task to complete.
TaskA task that represents the asynchronous operation.