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

Provide a wrapper around channel implementations #15

Closed
austinjones opened this issue Aug 24, 2020 · 2 comments
Closed

Provide a wrapper around channel implementations #15

austinjones opened this issue Aug 24, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@austinjones
Copy link
Owner

austinjones commented Aug 24, 2020

Each channel implementation has slightly different error handling, async, etc.

Lifeline could provide a wrapper around them that standardizes the API. Then you could freely switch channel types. It could be generic and provide an 'into_inner()' method, in case the user wanted the underlying type.

This is particularly annoying with broadcast channels - which require a lot of handling to run correctly.

@austinjones austinjones added the enhancement New feature or request label Aug 24, 2020
@austinjones
Copy link
Owner Author

Yeah, this would be really nice. The channel endpoints could write into debug logs. So nice.

@austinjones
Copy link
Owner Author

This is implemented in 0.3.0

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