-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for abort signal for AwaitableSender.send() #48
Comments
cc @ramya-rao-a |
@bterlson any thoughts on alternatives to @azure/abort-controller as mentioned above? I believe all we need is the |
I don't think a dependency on @azure/abort-controller is appropriate here. As you just need the AbortSignalLike interface, I'd say just roll with that. It only needs to be as complete as what you use internally I think (e.g. if you only use onabort, something like |
That is not true, If you take a look at the usage of abort controller in the EventHubs Sender over here. You will see that we are checking for the @bterlson - How about moving |
In the example you linked, all you need is the AbortSignalLike type I think (that's what its using anyway)? I'm not sure what would require you to have the whole implementation, can you explain more? |
AbortSignal support is now available in all the async operations in the latest release of 1.1.0! |
@azure/abort-controller
package over here? If yes, then that would mean taking a dependency on something in@azure
scope for a generic project like this. It may be ok in the end. However, we should see if there are other alternatives before doing that.The text was updated successfully, but these errors were encountered: