diff --git a/versioned_docs/version-latest/04-standard-library/01-cloud/function.md b/versioned_docs/version-latest/04-standard-library/01-cloud/function.md index 5ca913888..51c26aef1 100644 --- a/versioned_docs/version-latest/04-standard-library/01-cloud/function.md +++ b/versioned_docs/version-latest/04-standard-library/01-cloud/function.md @@ -127,7 +127,7 @@ new cloud.Function(handler: IFunctionHandler, props?: FunctionProps); | **Name** | **Description** | | --- | --- | -| invoke | Invoke the function asynchronously with a given payload. | +| invoke | Invokes the function with a payload and waits for the result. | --- @@ -157,7 +157,7 @@ Add an environment variable to the function. inflight invoke(payload: str): str ``` -Invoke the function asynchronously with a given payload. +Invokes the function with a payload and waits for the result. ###### `payload`Required