MCPcopy Create free account
hub / github.com/subquery/subql / isTaskFlushedError

Function isTaskFlushedError

packages/node-core/src/utils/queues/autoQueue.ts:16–18  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

14}
15
16export function isTaskFlushedError(e: any): e is TaskFlushedError {
17 return (e as TaskFlushedError)?.name === 'TaskFlushedError';
18}
19
20export type Task<T> = () => Promise<T> | T;
21

Callers 2

fetchBlockFunction · 0.90
pipeBlockFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected