Skip to content

Conversation

Baccata
Copy link
Contributor

@Baccata Baccata commented Aug 8, 2022

Adds a CancelTemplate for users to specify a method that should
be used for cancelation purposes. This LSP method is implemented
automatically. When invoked, the server looks up the list of running
calls it contains, and cancels the corresponding one.

On the client side, stubs are automatically wired so that canceling a
request in flight leads to a cancelation request propagating to the
server with the corresponding CallId.

Adds a `CancelTemplate` for users to specify a method that should be used for cancelation purposes. This LSP method is implemented automatically. When invoked, the server looks up the list of running calls it contains, and cancels the corresponding one. On the client side, stubs are automatically wired so that canceling a request in flight leads to a cancelation request propagating to the server with the corresponding CallId.
@@ -1,294 +0,0 @@
// package jsonrpclib
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean-up, as I don't think I'll add a Future-based implementation. I'd be willing to make it easier to mount endpoints implemented against Future into a pure channel though.

@Baccata Baccata merged commit 58f5d5b into main Aug 8, 2022
@Baccata Baccata deleted the cancelation branch August 8, 2022 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant