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

Wrapper for raw events #55

Closed
orthecreedence opened this issue Jan 3, 2013 · 1 comment
Closed

Wrapper for raw events #55

orthecreedence opened this issue Jan 3, 2013 · 1 comment

Comments

@orthecreedence
Copy link
Owner

It would be useful to be able to monitor an fd without having to wrap a bufferevent around it, in case you just wanted to be notified of new data, for instance if integrating cl-async with an existing driver.

It would be easy to wrap the event portion of libevent, but the tricky part would most likely be intelligently freeing the event. Right now, cl-async generally takes care of all freeing of resources depending on what events are processed, and this would introduce an API where the library user would have to be aware memory management, which I'm not too keen on.

Perhaps it's not a big deal though, as long as I make note of it in the docs.

@orthecreedence
Copy link
Owner Author

Solved by issue #61!

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

No branches or pull requests

1 participant