holepunchto / hyperdrive

Hyperdrive is a secure, real time distributed file system
Apache License 2.0
1.86k stars 134 forks source link

fix: allow content feed to be passed in constructor #238

Closed okdistribute closed 5 years ago

okdistribute commented 5 years ago

Allows the content feed to be passed in constructor. This allows consumers to control the content feed without extra wrestling with hyperdrive internals.

I'm relying on this for kappa-core multiwriter hyperdrive https://github.com/karissa/peerfs

You used to be able to do this last time I checked (2 years ago??) and there is some code hanging around that allows it, I think this just got accidentally overlooked.

andrewosh commented 5 years ago

Ah yep -- just was overlooked. Thanks + merging!