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

Function taskLibrary

experiments/context.ts:420–428  ·  view source on GitHub ↗
(input: TaskLibraryRecord | CreateTaskLibraryOptions)

Source from the content-addressed store, hash-verified

418): TaskLibrary<DecorateCreateTaskLibraryOptions<TInput>>;
419function taskLibrary<TInput extends TaskLibraryRecord>(input: TInput): TaskLibrary<TInput>;
420function taskLibrary(input: TaskLibraryRecord | CreateTaskLibraryOptions) {
421 // TODO: reserved words
422
423 return {
424 _def: {
425 record: input,
426 },
427 };
428}
429
430// ======== client side
431type DecorateTask<TTask extends AnyTask> = {

Callers 1

context.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…