Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Classes

Interfaces

Functions

Functions

default

  • default(target: any, name: string, __namedParameters?: PropertyDescriptor): any
  • Parameters

    • target: any
    • name: string
    • __namedParameters: PropertyDescriptor = {}

    Returns any

delay

  • delay(timeout: number): Promise<void>
  • Parameters

    • timeout: number

    Returns Promise<void>

lazyProp

  • Type parameters

    • T

    Parameters

    • evaluator: () => T
        • (): T
        • Returns T

    Returns ReadOnlyProperty<T>

promise

  • promise<T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>
  • Type parameters

    • T

    Parameters

    • executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void
        • (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void): void
        • Parameters

          • resolve: (value: T | PromiseLike<T>) => void
              • (value: T | PromiseLike<T>): void
              • Parameters

                • value: T | PromiseLike<T>

                Returns void

          • reject: (reason?: any) => void
              • (reason?: any): void
              • Parameters

                • Optional reason: any

                Returns void

          Returns void

    Returns Promise<T>

Generated using TypeDoc