The runtime a generated Sanity Function runs on, for deployment. Throws unless the deployment's workflow resource is a dataset and either options.context carries a token or options.clientFactory is supplied.
deployment
options.context
options.clientFactory
The runtime a generated Sanity Function runs on, for
deployment. Throws unless the deployment's workflow resource is a dataset and eitheroptions.contextcarries a token oroptions.clientFactoryis supplied.