Skip to main content
Version: 4.1.0

Deferred <T>

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new Deferred<T>(): Deferred<T>
  • Type parameters

    • T

    Returns Deferred<T>

Accessors

publicpromise

  • get promise(): Promise<T>
  • Returns Promise<T>

Methods

publicreject

  • reject(reason: any): void
  • Parameters

    • reason: any

    Returns void

publicresolve

  • resolve(value: T): void
  • Parameters

    • value: T

    Returns void