34 lines · 1.0 KB · TypeScript
RawDownload
/** * ProviderCommandReactor - Provider command reaction service interface. * * Owns background workers that react to orchestration intent events and * dispatch provider-side command execution. * * @module ProviderCommandReactor */import { ServiceMap } from "effect";import type { Effect, Scope } from "effect"; /** * ProviderCommandReactorShape - Service API for provider command reactors. */export interface ProviderCommandReactorShape {  /**   * Start reacting to provider-intent orchestration domain events.   *   * The returned effect must be run in a scope so all worker fibers can be   * finalized on shutdown.   *   * Filters orchestration domain events to provider-intent types before   * processing.   */  readonly start: Effect.Effect<void, never, Scope.Scope>;} /** * ProviderCommandReactor - Service tag for provider command reaction workers. */export class ProviderCommandReactor extends ServiceMap.Service<  ProviderCommandReactor,  ProviderCommandReactorShape>()("t3/orchestration/Services/ProviderCommandReactor") {}

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