conflux
conflux copied to clipboard
Abort handling
This bug wasn't caught by tests.
This PR is currently in the test-writing stage, not bugfix. Closes #56
https://developer.mozilla.org/en-US/docs/Web/API/AbortController
Haven't used this before. Looks good though. Does this change the implementation (given our class extends TransformStream
) or just recommended API?
This will change our implementation and also add an additional API surface to for API consumers to input an AbortController (probably during conflux.Writer instantiation).
@eligrey given https://github.com/transcend-io/penumbra/pull/148 are there any changes required to Conflux for abort handling?
It doesn't seem like it's actually necessary to expose an explicit AbortController in Conflux with Penumbra's wrapper.