KaranGauswami / freeswitch-esl

FreeSwitch ESL implementation for Rust
Apache License 2.0
17 stars 13 forks source link

add a simple event listener feature #2

Open utsl42 opened 1 year ago

utsl42 commented 1 year ago

I needed an event listener, so rather than start from scratch, I thought I'd just add one to your crate. This is pretty minimalist, but it works.

KaranGauswami commented 11 months ago

Thank you for the pull request, and I apologize for the delayed response. Currently, I have some doubts about users passing a Tokio channel in the API when creating a connection, so I'll keep this PR open for now. I'm also planning to add a feature where users won't need to pass a channel in the public API.