iotjs
iotjs copied to clipboard
Make ReqWrap template.
Many module implement its own request wrapper class inheriting ReqWrap. but it just add one field - specific request type of uv_req_t. So I think we can generalize it by using c++ template.
I do not agree on using c++ template.
@seanshpark Could you tell us why you disagree over using C++ template ?
Close as we had tentatively come to an agreement on using template from offline meeting. But we can roll back any time when it's clear that using template is inappropriate for embedded environment.