Skip to content
Prev Previous commit
Next Next commit
Add comments to Schedule and ScheduleRetryConfig
  • Loading branch information
merlinnot committed Jul 3, 2019
commit f28e5bfc5eb67b9ee9a3c2b788121ae2b7d4ef1d
6 changes: 6 additions & 0 deletions src/function-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export const VALID_MEMORY_OPTIONS = [
'2GB',
] as const;

/**
* Scheduler retry options. Applies only to scheduled functions.
*/
export interface ScheduleRetryConfig {
retryCount?: number;
maxRetryDuration?: string;
Expand All @@ -40,6 +43,9 @@ export interface ScheduleRetryConfig {
maxDoublings?: number;
}

/**
* Configuration options for scheduled functions.
*/
export interface Schedule {
schedule: string;
timeZone?: string;
Expand Down