An engine scoped to deployment, and the client it runs on, for use inside a Sanity Function handler. 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
An engine scoped to
deployment, and the client it runs on, for use inside a Sanity Function handler. Throws unless the deployment's workflow resource is a dataset and eitheroptions.contextcarries a token oroptions.clientFactoryis supplied.