Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyunnnn committed Feb 27, 2024
1 parent 79270d5 commit 58871f0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/generated/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,29 @@
],
"extendsTokenRanges": []
},
{
"kind": "Variable",
"canonicalReference": "@google-cloud/functions-framework!getExecutionId:var",
"docComment": "/**\n * Gets the request-specific execution id\n *\n * @public\n */\n",
"excerptTokens": [
{
"kind": "Content",
"text": "getExecutionId: "
},
{
"kind": "Content",
"text": "() => string | undefined"
}
],
"fileUrlPath": "src/function_registry.ts",
"isReadonly": true,
"releaseTag": "Public",
"name": "getExecutionId",
"variableTypeTokenRange": {
"startIndex": 1,
"endIndex": 2
}
},
{
"kind": "TypeAlias",
"canonicalReference": "@google-cloud/functions-framework!HandlerFunction:type",
Expand Down
3 changes: 3 additions & 0 deletions docs/generated/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export interface EventFunctionWithCallback {
(data: {}, context: Context, callback: Function): any;
}

// @public
export const getExecutionId: () => string | undefined;

// @public
export type HandlerFunction<T = unknown, U = unknown> = HttpFunction | EventFunction | EventFunctionWithCallback | CloudEventFunction<T> | CloudEventFunctionWithCallback<T> | TypedFunction<T, U>;

Expand Down

0 comments on commit 58871f0

Please sign in to comment.