holepunchto / corestore

A simple corestore that wraps a random-access-storage module
https://docs.holepunch.to
MIT License
74 stars 28 forks source link

Check on opened instead of primaryKey for ready-state #75

Closed HDegroote closed 1 year ago

HDegroote commented 1 year ago

This simplifies reasoning about the state, as primaryKey can be set while the corestore is still opening