Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(functions): Add features to task queue functions #2216

Merged
merged 13 commits into from
Jul 10, 2023
Prev Previous commit
Next Next commit
tidy up docstrings
blidd-google committed Jun 26, 2023
commit 83a96c5975edee684e9305e26c05aa50dfcf22c1
2 changes: 2 additions & 0 deletions src/functions/functions-api.ts
Original file line number Diff line number Diff line change
@@ -60,6 +60,7 @@ export type TaskOptions = DeliverySchedule & TaskOptionsExperimental & {
* The default is 10 minutes. The deadline must be in the range of 15 seconds and 30 minutes.
*/
dispatchDeadlineSeconds?: number;

/**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: newline between commented fields (e.g. here and headers)

* The id to use for the enqueued event.
* If not provided, one will be automatically generated.
@@ -81,6 +82,7 @@ export type TaskOptions = DeliverySchedule & TaskOptionsExperimental & {
* javascript use `someString.split("").reverse().join("")`
*/
id?: string;

/**
* HTTP request headers to include in the request to the task queue function.
* These headers represent a subset of the headers that will accompany the task's HTTP