@flux-control/effect-modbus-rs
    Preparing search index...

    Function createRegisterCache

    • Creates an empty RegisterCache.

      The cache is synchronous and holds no scope. Its lifetime is the transport's: one cache per bus, shared by every client derived from it.

      Returns RegisterCache

      const cache = createRegisterCache();
      const { pending, suppressed } = cache.filter(3, [{ address: 2000, value: 512 }]);
      // pending: the write; suppressed: empty, since nothing is known yet