MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / abort

Function abort

apps/webapp/app/utils/sse.server.ts:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 let timeout: NodeJS.Timeout | undefined = undefined;
28
29 const abort = () => {
30 clearInterval(pinger);
31 clearInterval(updater);
32 clearTimeout(timeout);
33 };
34
35 return eventStream(request.signal, (send, close) => {
36 const safeSend = (args: { event?: string; data: string }) => {

Callers 1

sseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…