what is libuv

Keeping Track

  • fortunately there is a void* data property on pretty much everything so you can attach your context
  • any libuv request type will have the following fields
#define UV_REQ_FIELDS           \
  /* public */                  \
  void* data;                   \
  [..]                          \
  UV_REQ_PRIVATE_FIELDS         \