diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2023-06-20 11:07:07 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-06-20 23:16:25 +0200 |
commit | 115fb9322ce4065bb7212e8979464d0f9c1db12d (patch) | |
tree | f52beba3d78440a46f97324214cd61e853996ec9 /go.sum | |
parent | 982ee4128c584759e518b6d541ca01cce6c5d547 (diff) | |
download | aerc-115fb9322ce4065bb7212e8979464d0f9c1db12d.tar.gz |
worker: add context to cancellable requests
Add a Context field to requests which we may want to cancel when
changing directories.
Add a Cancelled meta-message to inform the UI that a request was
cancelled (as opposed to Done or Error). Delete callbacks when a request
is Cancelled.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions