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

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

A JavaScript extension package for building strong and modern applications.
Latest
class ThenableAsyncGenerator
import { ThenableAsyncGenerator } 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

next(...args: [] | [TNext]): Promise<IteratorResult<T, TReturn>>
return(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>
throw(err?: any): Promise<IteratorResult<T, TReturn> | never>