hldb / welo

peer-to-peer, collaborative states using Merkle-CRDTs
Other
32 stars 2 forks source link

feat: Abortable Requests #117

Closed saul-jb closed 4 months ago

saul-jb commented 4 months ago

This PR adds an abort options parameter to requests so they can be aborted by the caller.

The main target here is the welo.fetch/Manifest.fetch but i have added it to identity and entry, replacing the timeout parameter.

There are probably a few other requests that might need to be abortable inside database/replica/etc, I am hoping these will be added in next gen or are easier to figure out after.