Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Engine

class

Asynchronous main loop

param

Hierarchy

  • Engine

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

_lock

_lock: number

_scheduler

_scheduler: Scheduler

Methods

lock

  • lock(): this
  • Interrupt the engine by an asynchronous action

    Returns this

start

  • start(): this
  • Start the main loop. When this call returns, the loop is locked.

    Returns this

unlock

  • unlock(): this
  • Resume execution (paused by a previous lock)

    Returns this

Generated using TypeDoc