Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeferredPromise<T>

Deferred Promise Handles Matching Promises with queued responses while maintaining a stack trace

export
template

T

Type parameters

  • T

Hierarchy

  • DeferredPromise

Index

Properties

promise

promise: Promise<T>

reject

reject: (err: Error) => void

Type declaration

    • Parameters

      Returns void

resolve

resolve: (result: T) => void

Type declaration

    • (result: T): void
    • Parameters

      • result: T

      Returns void

session

session: Session

stack

stack: string

transaction

transaction: Transaction

Methods

Static create

  • Type parameters

    • T

    Parameters

    • Optional transaction: Transaction
    • Optional session: Session

    Returns Promise<DeferredPromise<T>>

Generated using TypeDoc