UNPKG

transgate

Version:

Agent-based task flow framework

9 lines (8 loc) 202 B
export interface GateItem { } export interface OutGate<T extends GateItem> { send(item: T | null): Promise<void>; } export interface InGate<T extends GateItem> { receive(): Promise<T | null>; }