@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
14 lines (11 loc) • 404 B
text/typescript
// ets_tracing: off
import type { NoSuchElementException } from "../../GlobalExceptions/index.js"
import type * as O from "../../Option/index.js"
import type * as T from "../effect.js"
export class Driver<Env, Inp, Out> {
constructor(
readonly next: (inp: Inp) => T.Effect<Env, O.Option<never>, Out>,
readonly last: T.IO<NoSuchElementException, Out>,
readonly reset: T.UIO<void>
) {}
}