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

Function create

packages/trigger-sdk/src/v3/schedules/index.ts:34–42  ·  view source on GitHub ↗
(options: SchedulesAPI.CreateScheduleOptions)

Source from the content-addressed store, hash-verified

32 * @returns The created schedule
33 */
34export function create(options: SchedulesAPI.CreateScheduleOptions): ApiPromise<ScheduleObject> {
35 const apiClient = apiClientManager.client;
36
37 if (!apiClient) {
38 throw apiClientMissingError();
39 }
40
41 return apiClient.createSchedule(options);
42}
43
44/**
45 * Retrieves a schedule

Callers

nothing calls this directly

Calls 2

apiClientMissingErrorFunction · 0.90
createScheduleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…