Sanity Library Reference Docs
    Preparing search index...
    • Build an out-of-band Engine on a bench's client, inheriting the bench's tag, workflow resource, and clock (so setNow / advance govern the engine's $now too). Use this when a test needs an engine of its own — custom effect handlers, racing two drainers — rather than the wrappers the bench exposes. overrides win over every inherited value.

      Parameters

      Returns Engine