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 request: allow setting custom adapter class #349

Open
e2 opened this issue Oct 6, 2015 · 0 comments
Open

Feature request: allow setting custom adapter class #349

e2 opened this issue Oct 6, 2015 · 0 comments
Labels
✨ Feature Adds a new feature

Comments

@e2
Copy link
Contributor

e2 commented Oct 6, 2015

e.g.

listener = Listen.to('dir/path/to/listen', adapter_class: MyTCPClientAdapter) 

This would help implement: #258

Issues:

  1. I think :force_polling => true option would override this option
  2. If the adapter isn't usable, Listen should probably just fail with an error message
@e2 e2 added the ✨ Feature Adds a new feature label Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature Adds a new feature
Projects
None yet
Development

No branches or pull requests

1 participant