@espressif/rainmaker-base-cdf
    Preparing search index...

    Function createDeferredOperations

    • Operations for an entity restored from disk. Every call waits for the first live sync (whenLive), then forwards to the live entity's operations. Until then nothing is "unavailable": a tap during the first second simply completes once the network answers.

      Type Parameters

      • T extends object

      Parameters

      • resolveLive: () => T | undefined
      • whenLive: () => Promise<void>
      • label: string

      Returns T