AsyncActionProcessorBaseProcessActionAsync(MasterAction, CancellationToken) Method

Processes the given MasterAction.

Definition

Namespace: ProjectLCore.GameActions
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
protected abstract Task ProcessActionAsync(
	MasterAction action,
	CancellationToken cancellationToken = default
)

Parameters

action  MasterAction
The action to process.
cancellationToken  CancellationToken  (Optional)
Cancellation token to observe while waiting for the task to complete.

Return Value

Task
A task that represents the asynchronous operation.

See Also