Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.Concurrency.Core.DefaultExecutor Class Reference

Default executor. More...

Inheritance diagram for ExitGames.Concurrency.Core.DefaultExecutor:
ExitGames.Concurrency.Core.IExecutor

Public Member Functions

void Execute (List< Action > toExecute)
 Executes all actions. More...
 
void Execute (Action toExecute)
 

Properties

bool IsEnabled [get, set]
 When disabled, actions will be ignored by executor. The executor is typically disabled at shutdown to prevent any pending actions from being executed. More...
 

Detailed Description

Default executor.

Member Function Documentation

void ExitGames.Concurrency.Core.DefaultExecutor.Execute ( List< Action >  toExecute)
inline

Executes all actions.

Parameters
toExecute

summary> Executes a single action. /summary> param name="toExecute">

Implements ExitGames.Concurrency.Core.IExecutor.

void ExitGames.Concurrency.Core.DefaultExecutor.Execute ( Action  toExecute)
inline

Property Documentation

bool ExitGames.Concurrency.Core.DefaultExecutor.IsEnabled
getset

When disabled, actions will be ignored by executor. The executor is typically disabled at shutdown to prevent any pending actions from being executed.