intervalTrigger() jsdocs

This commit is contained in:
Matt Aitken
2023-07-05 20:17:09 +01:00
parent 931be39912
commit ba44652457
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@trigger.dev/sdk": patch
---
intervalTrigger() jsdocs
@@ -68,6 +68,9 @@ export class IntervalTrigger implements Trigger<ScheduledEventSpecification> {
}
}
/** `intervalTrigger()` is set as a [Job's trigger](/sdk/job) to trigger a Job at a recurring interval.
* @param options An object containing options about the interval.
*/
export function intervalTrigger(options: IntervalOptions) {
return new IntervalTrigger(options);
}