Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/external/thenable-generator/index.ts>ThenableGeneratorFunctionConstructor

A JavaScript extension package for building strong and modern applications.
Latest
interface ThenableGeneratorFunctionConstructor
import { type ThenableGeneratorFunctionConstructor } from "https://deno.land/x/ayonli_jsext@v0.9.72/external/thenable-generator/index.ts";

Type Parameters

optional
T = unknown
optional
TReturn = any
optional
TNext = unknown

Methods

deprecated
create<T = unknown, TReturn = any, TNext = unknown, TArgs extends any[] = any[]>(fn: (...args: TArgs) => AsyncGenerator<T, TReturn, TNext> | AsyncIterable<T> | Promise<T>): ThenableAsyncGeneratorFunction<T, TReturn, TNext, TArgs>
deprecated
create<T = unknown, TReturn = any, TNext = unknown, TArgs extends any[] = any[]>(fn: (...args: TArgs) => Generator<T, TReturn, TNext> | Iterable<T> | T): ThenableGeneratorFunction<T, TReturn, TNext, TArgs>