Name of the function to invoke
The {event, context} envelope to deliver
Set sync: true to wait for and return the function's result
Invokes another Sanity Function.
By default the invocation is async: the payload is handed off to the function's
event source (or, for durable functions, a new durable execution is started) and
nothing is returned. Pass {sync: true} to invoke the function and wait for its
return value; only pubsub functions support this.
Name of the function to invoke
The {event, context} envelope to deliver
Optionaloptions: InvokeOptions & { sync?: false }Set sync: true to wait for and return the function's result
Invokes another Sanity Function.
By default the invocation is async: the payload is handed off to the function's event source (or, for durable functions, a new durable execution is started) and nothing is returned. Pass
{sync: true}to invoke the function and wait for its return value; only pubsub functions support this.