MCPcopy Create free account
hub / github.com/Effect-TS/effect / resume

Function resume

packages/effect/src/unstable/workflow/Workflow.ts:382–386  ·  view source on GitHub ↗
(this: Workflow<string, AnyStructSchema, Schema.Top, Schema.Top>, executionId: string)

Source from the content-addressed store, hash-verified

380 )
381 },
382 resume(this: Workflow<string, AnyStructSchema, Schema.Top, Schema.Top>, executionId: string) {
383 return Effect.flatMap(EngineTag, (engine) => engine.resume(this, executionId)).pipe(
384 Effect.withSpan(`${this._tag}.resume`, { attributes: { executionId } }, { captureStackTrace: false })
385 )
386 },
387 toLayer(this: Workflow<string, AnyStructSchema, Schema.Top, Schema.Top>, execute: any) {
388 return Layer.effectDiscard(
389 Effect.flatMap(EngineTag, (engine) => engine.register(this, execute))

Callers

nothing calls this directly

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected