hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stream extensions need a destroy method

andrewosh opened this issue · comments

Right now Hypercore extensions (in lib/extension.js) can be destroyed through a destroy() method, but protocol stream extensions (Hypercore.createProtocolStream(...).registerExtension(...)) do not support destroying.

We'll need to add this.