MCPcopy Create free account
hub / github.com/OpenPipe/OpenPipe / handler

Function handler

app/src/server/tasks/defineTask.ts:36–39  ·  view source on GitHub ↗
(payload: TPayload, helpers: Helpers)

Source from the content-addressed store, hash-verified

34 };
35
36 const handler = (payload: TPayload, helpers: Helpers) => {
37 helpers.logger.debug(`Running task ${options.id} with payload: ${JSON.stringify(payload)}`);
38 return options.handler(payload, helpers);
39 };
40
41 const task = {
42 identifier: options.id,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected