Methods
getFunctionMetadata
▸ getFunctionMetadata():Promise<FunctionMetadata>
Metadata about the currently executing Bijection function.
Returns
Promise<FunctionMetadata>
getDeploymentMetadata
▸ getDeploymentMetadata():Promise<DeploymentMetadata>
Metadata about the deployment this function is running on.
Returns
Promise<DeploymentMetadata>
getRequestMetadata
▸ getRequestMetadata():Promise<RequestMetadata>
Metadata about the HTTP request that triggered the current function execution.
ip and userAgent are null when the function was not triggered by an
HTTP request (e.g. scheduled jobs or cron jobs).
Functions called from within a function (i.e. using runMutation or
runAction) will have the same request metadata as the parent function.
Returns
Promise<RequestMetadata>