Begin iterating the source, storing serialized iteration values. If the storageNode's setValue operation rejects, no further writes to it will be attempted (but results will remain available from the subscriber).

Returns a StoredSubscriber that can be used by a client to directly follow the iteration themselves, or obtain information to subscribe to the stored data out-of-band.

  • Type Parameters

    • T extends PassableCap

    Parameters

    • subscriber: Subscriber<T>
    • storageNode: ERef<StorageNode>
    • marshaller: ERef<{
          fromCapData: FromCapData<unknown>;
          serialize: ToCapData<unknown>;
          toCapData: ToCapData<unknown>;
          unserialize: FromCapData<unknown>;
      }>

    Returns StoredSubscriber<T>