ipfs / go-ipld-format

IPLD Node and Resolver interfaces in Go
https://github.com/ipld/ipld
MIT License
64 stars 26 forks source link

add a Poll function to node promises #34

Open Stebalien opened 6 years ago

Stebalien commented 6 years ago

(and improve the documentation)

This'll allow us to test for canceled promises and fix the todo in https://github.com/ipfs/go-ipfs/pull/5162.

Obviously, this is ultra low priority as we're not going to run into that case in practice for a while (if ever). However, this function still feels useful.