Skip to content
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

⭐️ [FEATURE]: Aborting pipe functions #2

Open
jkulvich opened this issue Nov 1, 2023 · 0 comments
Open

⭐️ [FEATURE]: Aborting pipe functions #2

jkulvich opened this issue Nov 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jkulvich
Copy link
Contributor

jkulvich commented Nov 1, 2023

Is your feature request related to a problem? Please describe.
Pipe aborting requires a bit of configuration, but we can reduce it.

Describe the solution you'd like
Now, we can abort operation with context, but we need to implement our own mechanism of aborting.
I suggest implement this feature as core feature for all pipe functions. I mean, we can stop calling of pipe function handlers in case of ctx.Done, and all rest and unread data for input channels must be read in the background.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
none

@jkulvich jkulvich added the enhancement New feature or request label Nov 1, 2023
@jkulvich jkulvich self-assigned this Nov 1, 2023
@jkulvich jkulvich changed the title ⭐️ [FEATURE]: ⭐️ [FEATURE]: Aborting pipe functions Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant