func (s *PullStorer) Cursors(ctx context.Context) (curs []uint64, err error) {
	curs = make([]uint64, swarm.MaxBins)
	for i := uint8(0); i < swarm.MaxBins; i++ {
		binID, err := s.Storer.LastPullSubscriptionBinID(i)
		if err != nil {
			return nil, err
		}
		curs[i] = binID
	}
	return curs, nil
}
// Cursors gets the last BinID for every bin in the local storage
Cursors gets the last BinID for every bin in the local storage
// Cursors gets the last BinID for every bin in the local storage
func (s *PullStorer) Cursors(ctx context.Context) (curs []uint64, err error) {
	curs = make([]uint64, swarm.MaxBins)
	for i := uint8(0); i < swarm.MaxBins; i++ {
		binID, err := s.Storer.LastPullSubscriptionBinID(i)
		if err != nil {
			return nil, err
		}
		curs[i] = binID
	}
	return curs, nil
}
func ( s * PullStorer ) Cursors ( ctx context . Context ) ( curs [ ] uint64 , err error ) { curs = make ( [ ] uint64 , swarm . MaxBins ) for i := uint8 ( 0 ) ; i < swarm . MaxBins ; i ++ { binID , err := s . Storer . LastPullSubscriptionBinID ( i ) if err != nil { return nil , err } curs [ i ] = binID } return curs , nil }
Cursors gets the last BinID for every bin in the local storage
Cursors gets the last BinID for every bin in the local storage