Skip to main content
Module

x/effection/mod.ts>Yielded

Structured concurrency and effects for JavaScript
Latest
type alias Yielded
Re-export
import { type Yielded } from "https://deno.land/x/effection@3.0.3/mod.ts";

Unwrap the type of an Operation. Analogous to the built in Awaited type. Yielded<Operation> === T

Type Parameters

T extends Operation<unknown>
definition: T extends Operation<infer TYield> ? TYield : never