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

x/ayonli_jsext/parallel.ts>ThreadedFunctions

A JavaScript extension package for building strong and modern applications.
Latest
type alias ThreadedFunctions
import { type ThreadedFunctions } from "https://deno.land/x/ayonli_jsext@v0.9.72/parallel.ts";
definition: [K in keyof T]: T[K] extends (...args: infer A) => AsyncGenerator<infer T, infer R, infer N> ? (...args: A) => AsyncGenerator<T, R, N> : T[K] extends (...args: infer A) => Generator<infer T, infer R, infer N> ? (...args: A) => AsyncGenerator<T, R, N> : T[K] extends (...args: infer A) => infer R ? (...args: A) => Promise<Awaited<R>> : T[K]