import { type ThreadedFunctions } from "https://deno.land/x/ayonli_jsext@v0.9.72/parallel.ts";
Type Parameters
optional
T extends FunctionProperties<M> = FunctionProperties<M>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]