Sanity Library Reference Docs
    Preparing search index...
    • Build the App SDK-side engine once: the app client rebound to the engine's state dataset, declaring this host so its events and history entries are attributable to an App SDK app rather than an unlabelled browser. resourceClients has no default — pass one to resolve subjects and refs that live in another dataset. effects feeds Engine.drainEffects for engines that drain effects in the app. Memoized on the config's content, so inline workflowResource literals are fine; custom resourceClients and effects values should still be stable. Must render inside the App SDK's provider, and inside WorkflowTelemetryProvider for the engine to emit.

      Parameters

      Returns Engine