Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FecItem

Represents a simulation event scheduled for future execution.

Hierarchy

  • FecItem

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

e

  • Gets a reference to the Entity that this item refers to.

    Returns Entity<Simulation>

options

  • Gets the {@see IFecItemOptions} assigned to this item.

    Returns IFecItemOptions

promise

  • get promise(): Promise<number>
  • Gets the Promise represented by this item.

    Returns Promise<number>

ready

  • get ready(): boolean
  • set ready(value: boolean): void
  • Gets or sets a value that determines if this item is ready to resume execution.

    Returns boolean

  • Gets or sets a value that determines if this item is ready to resume execution.

    Parameters

    • value: boolean

    Returns void

timeDue

  • get timeDue(): number
  • Gets the simulated time when this item is due to resume execution.

    Returns number

timeStart

  • get timeStart(): number
  • Gets the simulated time when this item was created.

    Returns number

Methods

dispatch

  • dispatch(): Promise<any>
  • Dispatches the Entity so it resumes execution of its Entity.script function.

    Returns Promise<any>

Generated using TypeDoc