Function
toLayer
(this: Workflow<string, AnyStructSchema, Schema.Top, Schema.Top>, execute: any)
Source from the content-addressed store, hash-verified
| 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)) |
| 390 | ) |
| 391 | }, |
| 392 | executionId(this: AnyWithProps, payload: any) { |
| 393 | return Effect.flatMap( |
| 394 | Effect.orDie(this.payloadSchema.makeEffect(payload)), |
Callers
nothing calls this directly
Tested by
no test coverage detected