18 lines · 738 B · TypeScript
RawDownload
import { Context } from "effect";import type * as Cause from "effect/Cause";import type { Executor } from "@executor-js/sdk";import type { ExecutionEngine } from "@executor-js/execution"; export class ExecutorService extends Context.Service<ExecutorService, Executor>()(  "ExecutorService",) {} // Error channel widened to `Cause.YieldableError` so callers that plug// in a runtime-specific tagged error (e.g.// `ExecutionEngine<DynamicWorkerExecutionError>`) assign structurally.// Handlers yield directly; defects flow through `Effect.catchAllCause`// at the edge.export class ExecutionEngineService extends Context.Service<  ExecutionEngineService,  ExecutionEngine<Cause.YieldableError>>()("ExecutionEngineService") {}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t