Our specific use-case is catching errors by being able to pass in an onError handler as well as using the AbortSignal to cancel requests. Using these we can try reopening the subscribe request if the connection between orbit-db and the ipfs host is lost.
This is useful for use with
ipfs-http-client
, where the options parameter allows additional control (https://github.com/ipfs/js-ipfs-http-client#additional-options)Our specific use-case is catching errors by being able to pass in an
onError
handler as well as using theAbortSignal
to cancel requests. Using these we can try reopening the subscribe request if the connection between orbit-db and the ipfs host is lost.