/** * Workflow channel kinds + control-flow primitives. * * Names are Graphorin's own design (`Directive`, `Dispatch`, `pause`, * `LatestValue`, `Reducer`, `Stream`, `Barrier`, `Ephemeral`, `AnyValue`) * and must not be aliased to terms from other workflow libraries. * * @packageDocumentation */ export type { AnyValue, Barrier, Channel, ChannelKind, Ephemeral, LatestValue, ListAggregate, Reducer, Stream, } from './channels.js'; export { anyValue, barrier, ephemeral, latestValue, listAggregate, reducer, stream, } from './channels.js'; export type { DirectiveOptions } from './directive.js'; export { Directive } from './directive.js'; export { Dispatch, dispatch } from './dispatch.js'; export type { ApprovalPauseValue, AwaitExternalOptions, AwakeablePauseValue, PayloadSchemaLike, RequestApprovalOptions, TimerPauseValue, } from './durable.js'; export { APPROVAL_PAUSE_KIND, AWAKEABLE_PAUSE_KIND, AwakeablePayloadError, awaitExternal, DEFAULT_APPROVAL_TIMEOUT_DECISION, isApprovalPauseValue, isAwakeablePauseValue, isAwakeablePayloadError, isTimerPauseValue, requestApproval, sleepFor, sleepUntil, TIMER_PAUSE_KIND, } from './durable.js'; export type { PauseIdentity, PauseResumeScope } from './pause.js'; export { isPauseSignal, isReplayDivergenceSignal, PAUSE_SIGNAL_BRAND, PauseSignal, pause, REPLAY_DIVERGENCE_BRAND, ReplayDivergenceSignal, runWithPauseResume, } from './pause.js';