Photon Server API Documentation v5.0RC1

Public Member Functions | List of all members
ExitGames.Concurrency.Core.Scheduler Class Reference

Enqueues actions on to context after schedule elapses.
/summary> More...

Inheritance diagram for ExitGames.Concurrency.Core.Scheduler:
ExitGames.Concurrency.Core.ISchedulerRegistry ExitGames.Concurrency.Core.IScheduler

Public Member Functions

void Remove (IDisposable toRemove)
 Remove timer More...
 
void Enqueue (IFiberAction action)
 Enqueues actions on to context immediately. /summary> param name="action"> More...
 
void Dispose ()
 
- Public Member Functions inherited from ExitGames.Concurrency.Core.IScheduler
IDisposable Schedule (Action action, int firstInMs)
 Schedules an action to be executed once. More...
 
IDisposable ScheduleOnInterval (Action action, int firstInMs, int regularInMs)
 Schedule an action to be executed on a recurring interval. More...
 
IDisposable Schedule (IFiberAction action, int firstInMs)
 Schedules an action to be executed once. More...
 
IDisposable ScheduleOnInterval (IFiberAction action, int firstInMs, int regularInMs)
 Schedule an action to be executed on a recurring interval. More...
 

Detailed Description

Enqueues actions on to context after schedule elapses.
/summary>

Member Function Documentation

◆ Dispose()

void ExitGames.Concurrency.Core.Scheduler.Dispose ( )
inline

◆ Enqueue()

void ExitGames.Concurrency.Core.Scheduler.Enqueue ( IFiberAction  action)
inline

Enqueues actions on to context immediately. /summary> param name="action">

Implements ExitGames.Concurrency.Core.ISchedulerRegistry.

◆ Remove()

void ExitGames.Concurrency.Core.Scheduler.Remove ( IDisposable  timer)
inline

Remove timer

Parameters
timer

Implements ExitGames.Concurrency.Core.ISchedulerRegistry.