Photon Server API
Public Member Functions | List of all members
ExitGames.Concurrency.Core.IQueue Interface Reference

Holds on to actions until the execution context can process them. More...

Inheritance diagram for ExitGames.Concurrency.Core.IQueue:
ExitGames.Concurrency.Core.BoundedQueue ExitGames.Concurrency.Core.BusyWaitQueue ExitGames.Concurrency.Core.DefaultQueue

Public Member Functions

void Enqueue (Action action)
 Enqueues action for execution context to process. /summary> param name="action"> More...
 
void Run ()
 Start consuming actions. More...
 
void Stop ()
 Stop consuming actions. More...
 

Detailed Description

Holds on to actions until the execution context can process them.

Member Function Documentation

void ExitGames.Concurrency.Core.IQueue.Enqueue ( Action  action)

Enqueues action for execution context to process. /summary> param name="action">

Implemented in ExitGames.Concurrency.Core.BoundedQueue, ExitGames.Concurrency.Core.BusyWaitQueue, and ExitGames.Concurrency.Core.DefaultQueue.

void ExitGames.Concurrency.Core.IQueue.Run ( )
void ExitGames.Concurrency.Core.IQueue.Stop ( )