bitcoinjs / indexd

An external bitcoind index management service module
ISC License
53 stars 23 forks source link

Listener exceptions #12

Closed dcousens closed 7 years ago

dcousens commented 7 years ago

If an attached listener service throws an exception, it should not impact other potential listeners.

Partially resolved with https://github.com/bitcoinjs/indexd/commit/22994cf8f47f0e273f9d18ded98e11395e9ee693, but only in terms of it does not halt resync now.

e.g https://www.npmjs.com/package/async-eventemitter

dcousens commented 7 years ago

I think this isolation is enough.