Module

Level.DB.Iterator

Package
purescript-leveldb
Repository
grybiena/leveldb

#Iterator Source

data Iterator k v

Constructors

#iterator Source

iterator :: forall k v. EncodeJson k => LevelDB k v -> Options (IteratorOptions k) -> Effect (Iterator k v)

#producer Source

producer :: forall k v m. MonadResource m => MonadRec m => EncodeJson k => DecodeJson k => DecodeJson v => LevelDB k v -> Options (IteratorOptions k) -> Producer (Tuple k v) m Unit

#next Source

next :: forall k v. DecodeJson k => DecodeJson v => Iterator k v -> Aff (Maybe (Tuple k v))

#closeIterator Source

closeIterator :: forall k v. Iterator k v -> Aff Unit

#IteratorJson Source