hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.
MIT License
150 stars 15 forks source link

Allow preload option to set session #27

Closed andrewosh closed 3 years ago

andrewosh commented 3 years ago

If the object returned by the preload option contains a session key, then the Hypercore will "take over" that session.

This will be useful for Corestore + caching.