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

Implement UV::Req. #33

Merged
merged 8 commits into from Apr 19, 2014
Merged

Implement UV::Req. #33

merged 8 commits into from Apr 19, 2014

Conversation

take-cheeze
Copy link
Contributor

UV::Req is a binding of uv_req_t.

It would be returned when subclass of uv_req_t is instantiated to create request in libuv.
Only UV.getaddrinfo and UV.queue_work supports it currently.

It has following methods:

  • type: returns uv_req_t type symbol mapped with UV_REQ_TYPE_MAP
  • cancel: binding of uv_cancel. Not available for windows since libuv doesn't support it.

UV::Req.new is undefined since mruby script shouldn't create it directly.

mattn added a commit that referenced this pull request Apr 19, 2014
@mattn mattn merged commit cd6e82a into mattn:master Apr 19, 2014
@mattn
Copy link
Owner

mattn commented Apr 19, 2014

UV::Req is is what I was thinking that I must implements. Thank you.

@take-cheeze take-cheeze deleted the uv_req branch April 22, 2014 08:13
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

Successfully merging this pull request may close these issues.

None yet

2 participants