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

Function task

experiments/with-separate-zod-task.ts:215–225  ·  view source on GitHub ↗
(
  options: TaskOptions<TPayloadIn, TPayloadOut, TOutput, TContext, TIdentifier>
)

Source from the content-addressed store, hash-verified

213} & {};
214
215export function task<
216 TPayloadIn,
217 TPayloadOut,
218 TOutput,
219 TContext extends object,
220 TIdentifier extends string,
221>(
222 options: TaskOptions<TPayloadIn, TPayloadOut, TOutput, TContext, TIdentifier>
223): Task<TPayloadIn, TPayloadOut, TOutput, TIdentifier> {
224 return createTask<TPayloadIn, TPayloadOut, TOutput, TContext, TIdentifier>(options);
225}
226
227export function createTask<
228 TPayloadIn,

Callers 1

Calls 1

createTaskFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…