Public Member Functions | |
ExtendedFailSafeExecutor () | |
Initializes a new instance of the ExtendedFailSafeExecutor class that logs all exceptions to a ILogger. More... | |
ExtendedFailSafeExecutor (Action< Exception > exceptionHandler) | |
Initializes a new instance of the ExtendedFailSafeExecutor class that forwards all exceptions to a custom exception handler. More... | |
override void | Execute (List< IFiberAction > toExecute) |
Executes all actions. More... | |
override void | Execute (IFiberAction toExecute) |
Executes an action and forwards exceptions to the assigned exception handler. More... | |
virtual void | Pause () |
virtual void | Resume (IFiberAction executeFirstAction) |
Public Member Functions inherited from ExitGames.Threading.FailSafeBatchExecutor | |
FailSafeBatchExecutor () | |
Initializes a new instance of the FailSafeBatchExecutor class that logs all exceptions to a ILogger. More... | |
FailSafeBatchExecutor (Action< Exception > exceptionHandler) | |
Initializes a new instance of the FailSafeBatchExecutor class that forwards all exceptions to a custom exception handler. More... | |
virtual void | Execute (System.Collections.Generic.List< IFiberAction > actionList) |
Executes a list of actions with Execute(IFiberAction). More... | |
Public Attributes | |
virtual bool | IsPaused => this.pause |
Additional Inherited Members | |
Properties inherited from ExitGames.Threading.FailSafeBatchExecutor | |
bool | IsEnabled [get, set] |
Gets or sets a value indicating whether the executor is enabled. When disabled, actions will be ignored by executor. The executor is typically disabled at shutdown to prevent any pending actions from being executed. More... | |
Properties inherited from ExitGames.Concurrency.Fibers.IExtendedExecutor | |
bool | IsPaused [get] |
|
inline |
Initializes a new instance of the ExtendedFailSafeExecutor class that logs all exceptions to a ILogger.
|
inline |
Initializes a new instance of the ExtendedFailSafeExecutor class that forwards all exceptions to a custom exception handler.
exceptionHandler | The exception handler. |
|
inlinevirtual |
Executes an action and forwards exceptions to the assigned exception handler.
action | The action. |
Reimplemented from ExitGames.Threading.FailSafeBatchExecutor.
|
inline |
Executes all actions.
toExecute |
summary> Executes a single action. /summary> param name="toExecute">
Implements ExitGames.Concurrency.Core.IExecutor.
|
inlinevirtual |
Implements ExitGames.Concurrency.Fibers.IExtendedExecutor.
|
inlinevirtual |
Implements ExitGames.Concurrency.Fibers.IExtendedExecutor.
virtual bool ExitGames.Threading.ExtendedFailSafeExecutor.IsPaused => this.pause |