Options
All
  • Public
  • Public/Protected
  • All
Menu
ngdoc

object

name

IOTileAppModule.type:BlockingEvent

description

A concurrent event that allows waiting until a condition is met. Anyone who calls wait() will yield and block until set() is called, at which point all waiters will be released in parallel.

property

{boolean} isSet Whether the event is set

Hierarchy

  • BlockingEvent

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _set

_set: boolean = false

Private event

event: Promise<void>

Private resolve

resolve: QueuedWaiter | undefined

Accessors

isSet

isSet:

Methods

set

  • set(): void

wait

  • wait(): Promise<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc