@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
26 lines (23 loc) • 683 B
text/typescript
// ets_tracing: off
import type { Cause } from "../Cause/index.js"
import type { Renderer } from "../Cause/Pretty/index.js"
import type { Supervisor } from "../Supervisor/index.js"
export class Platform<X> {
constructor(
public value: {
executionTraceLength: number
stackTraceLength: number
traceExecution: boolean
traceStack: boolean
traceEffects: boolean
initialTracingStatus: boolean
ancestorExecutionTraceLength: number
ancestorStackTraceLength: number
ancestryLength: number
renderer: Renderer
reportFailure: (e: Cause<unknown>) => void
maxOp: number
supervisor: Supervisor<X>
}
) {}
}