veffect
Version:
powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha
31 lines (22 loc) • 697 B
text/typescript
/** @internal */
export type SinkEndReason = ScheduleEnd | UpstreamEnd
/** @internal */
export const OP_SCHEDULE_END = "ScheduleEnd" as const
/** @internal */
export type OP_SCHEDULE_END = typeof OP_SCHEDULE_END
/** @internal */
export const OP_UPSTREAM_END = "UpstreamEnd" as const
/** @internal */
export type OP_UPSTREAM_END = typeof OP_UPSTREAM_END
/** @internal */
export interface ScheduleEnd {
readonly _tag: OP_SCHEDULE_END
}
/** @internal */
export interface UpstreamEnd {
readonly _tag: OP_UPSTREAM_END
}
/** @internal */
export const ScheduleEnd: SinkEndReason = { _tag: OP_SCHEDULE_END }
/** @internal */
export const UpstreamEnd: SinkEndReason = { _tag: OP_UPSTREAM_END }