Photon Quantum 3.0.0

Public Member Functions | List of all members
Quantum.InactiveTaskRunner Class Reference

An implementation of IDeterministicPlatformTaskRunner that forces the Quantum task system to run synchronously (single-threaded). More...

Inheritance diagram for Quantum.InactiveTaskRunner:
Photon.Deterministic.IDeterministicPlatformTaskRunner

Public Member Functions

void Dispose ()
 Dispose the object. More...
 
bool PollForComplete ()
 Poll the task runner for completion. More...
 
void Schedule (Action[] delegates)
 Schedules actions to be executed by the task runner. More...
 
void WaitForComplete ()
 Wait for the task runner to complete all scheduled actions. More...
 

Detailed Description

An implementation of IDeterministicPlatformTaskRunner that forces the Quantum task system to run synchronously (single-threaded).

Member Function Documentation

◆ Schedule()

void Quantum.InactiveTaskRunner.Schedule ( Action[]  delegates)
inline

Schedules actions to be executed by the task runner.

Parameters
delegatesArray of actions

Implements Photon.Deterministic.IDeterministicPlatformTaskRunner.

◆ WaitForComplete()

void Quantum.InactiveTaskRunner.WaitForComplete ( )
inline

Wait for the task runner to complete all scheduled actions.

Implements Photon.Deterministic.IDeterministicPlatformTaskRunner.

◆ PollForComplete()

bool Quantum.InactiveTaskRunner.PollForComplete ( )
inline

Poll the task runner for completion.

Returns

Implements Photon.Deterministic.IDeterministicPlatformTaskRunner.

◆ Dispose()

void Quantum.InactiveTaskRunner.Dispose ( )
inline

Dispose the object.