(operation: string, executionId?: string)
| 141 | const clockPollInterval = cfg.clockPollInterval ?? Duration.seconds(5) |
| 142 | |
| 143 | const annotate = (operation: string, executionId?: string) => |
| 144 | annotateDb({ |
| 145 | operation, |
| 146 | system: "sqlite", |
| 147 | collection: execTable, |
| 148 | entity: "workflow", |
| 149 | extra: executionId !== undefined ? { "app.entity.id": executionId } : undefined |
| 150 | }) |
| 151 | |
| 152 | const exec = (query: string, params: ReadonlyArray<unknown> = []) => |
| 153 | sql.unsafe(query, params as Array<any>).pipe(Effect.orDie) |
no test coverage detected
searching dependent graphs…