Executor that can be paused/resumed and that executes actions before and after executing of actions batch More...
Public Member Functions | |
ExtendedBeforeAfterExecutor () | |
ExtendedBeforeAfterExecutor (IExtendedExecutor executor) | |
ExtendedBeforeAfterExecutor (Action beforeExecute, Action afterExecute, IExtendedExecutor executor=null) | |
void | Pause () |
Pauses execution. Execution stops after current action More... | |
void | Resume (IFiberAction executeFirstAction=null) |
Resumes execution. Execution starts either from executeFirstAction or executor will continue to execute list of actions More... | |
Public Member Functions inherited from ExitGames.Threading.BeforeAfterExecutor | |
BeforeAfterExecutor (IExecutor executor=null) | |
BeforeAfterExecutor (Action beforeExecute, Action afterExecute, IExecutor executor=null) | |
void | Execute (List< IFiberAction > toExecute) |
Executes all actions. More... | |
void | Execute (IFiberAction toExecute) |
Public Attributes | |
bool | IsPaused => this.executor.IsPaused |
Returns whether executor is paused or not More... | |
Additional Inherited Members | |
Properties inherited from ExitGames.Threading.BeforeAfterExecutor | |
Action | BeforeExecute [get, set] |
Action | AfterExecute [get, set] |
Properties inherited from ExitGames.Concurrency.Fibers.IExtendedExecutor | |
bool | IsPaused [get] |
Executor that can be paused/resumed and that executes actions before and after executing of actions batch
|
inline |
|
inline |
|
inline |
|
inline |
Pauses execution. Execution stops after current action
Implements ExitGames.Concurrency.Fibers.IExtendedExecutor.
|
inline |
Resumes execution. Execution starts either from executeFirstAction or executor will continue to execute list of actions
executeFirstAction |
Implements ExitGames.Concurrency.Fibers.IExtendedExecutor.
bool ExitGames.Threading.ExtendedBeforeAfterExecutor.IsPaused => this.executor.IsPaused |
Returns whether executor is paused or not