| 370 | ) as any |
| 371 | }, |
| 372 | poll(this: Workflow<string, AnyStructSchema, Schema.Top, Schema.Top>, executionId: string) { |
| 373 | return Effect.flatMap(EngineTag, (engine) => engine.poll(this, executionId)).pipe( |
| 374 | Effect.withSpan(`${this._tag}.poll`, { attributes: { executionId } }, { captureStackTrace: false }) |
| 375 | ) |
| 376 | }, |
| 377 | interrupt(this: AnyWithProps, executionId: string) { |
| 378 | return Effect.flatMap(EngineTag, (engine) => engine.interrupt(this, executionId)).pipe( |
| 379 | Effect.withSpan(`${this._tag}.interrupt`, { attributes: { executionId } }, { captureStackTrace: false }) |