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 and nothing is returned. Pass {sync: true} to invoke the function and
wait for its return value.
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 and nothing is returned. Pass
{sync: true}to invoke the function and wait for its return value.