(error: unknown, runId: string)
| 945 | } |
| 946 | |
| 947 | function isWorkflowRunAlreadyActiveError(error: unknown, runId: string): boolean { |
| 948 | return error instanceof Error && error.message === `Workflow run is already active: ${runId}`; |
| 949 | } |
| 950 | |
| 951 | function unrefTimer(timer: ReturnType<typeof setTimeout>): void { |
| 952 | if (typeof timer !== "object" || timer == null || !("unref" in timer)) { |
no outgoing calls
no test coverage detected