mirror of
https://github.com/uNetworking/uWebSockets.js.git
synced 2026-04-06 11:00:23 -04:00
Hook up timers with us_loop_integrate
This commit is contained in:
@@ -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);*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user