hyperbee icon indicating copy to clipboard operation
hyperbee copied to clipboard

feat: add getOperation([seq]) API

Open Nuhvi opened this issue 2 years ago • 1 comments

This is useful for example for watching operations on the bee

db.feed.on('download', (seq) => db.getOperation(seq))

Or

db.feed.on('append', () => db.feed.length > 1 && db.getOperation(db.feed.length - 1))

Also makes #23 a bit easier to achieve.

Nuhvi avatar May 25 '22 04:05 Nuhvi

@Nazeh LGTM on the change requested and fixing the conflict

mafintosh avatar Aug 16 '22 19:08 mafintosh