UNPKG

rsxjs

Version:

Resilience Extensions for JS.

8 lines (7 loc) 285 B
/** * @file src/deferral/from-generator.ts * @description Just another API for coroutines. * @copyright 2018-present Karim Alibhai. All rights reserved. */ import { AsyncFunction } from '../types'; export declare function fromGenerator<T>(fn: GeneratorFunction): AsyncFunction<T>;