Hook up timers with us_loop_integrate
This commit is contained in:
parent
ffb664509c
commit
ba90a20e0f
3 changed files with 9 additions and 7 deletions
|
@ -312,6 +312,9 @@ void Main(Local<Object> exports) {
|
|||
emptyNextTickQueue(isolate);
|
||||
});
|
||||
|
||||
/* Hook up our timers */
|
||||
us_loop_integrate((us_loop *) uWS::Loop::defaultLoop());
|
||||
|
||||
/*reqTemplateLocal->PrototypeTemplate()->SetAccessor(String::NewFromUtf8(isolate, "url"), Request::url);
|
||||
reqTemplateLocal->PrototypeTemplate()->SetAccessor(String::NewFromUtf8(isolate, "method"), Request::method);*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue