Class AsyncGeneratorWithSetup<S, T, TReturn, TNext>

Type Parameters

  • S = unknown

  • T = unknown

  • TReturn = unknown

  • TNext = unknown

Hierarchy

  • AsyncGeneratorWithSetup

Implements

  • AsyncGenerator<T, TReturn, TNext>

Constructors

Properties

Methods

Constructors

Properties

setup: Promise<S>

Methods

  • Parameters

    • Rest ...args: [] | [TNext]

    Returns Promise<IteratorResult<T, any>>

  • Parameters

    • value: TReturn | PromiseLike<TReturn>

    Returns Promise<IteratorResult<T, any>>

  • Parameters

    • e: Error

    Returns Promise<IteratorResult<T, any>>

Generated using TypeDoc