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

Injectable Locking interface #20

Open
Lewiscowles1986 opened this issue Feb 14, 2020 · 0 comments
Open

Injectable Locking interface #20

Lewiscowles1986 opened this issue Feb 14, 2020 · 0 comments

Comments

@Lewiscowles1986
Copy link

Issues such as #16 seem to stem from the inability to inject locking behaviour.

Right now to change the API would seem to break downstream clients, so I propose that a an optional parameter be added to the constructor for the stream wrapper for a locking interface, which would allow those who want network locking and alternative behaviours to create their own implementations and absolve the library of solving locking and stream wrapper bindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant