Add process.scheduleCallback.

It will schedule a callback to be executed by pure uv loop.
This commit is contained in:
Cheng Zhao 2014-01-09 20:33:07 +08:00
parent a12754f980
commit d0494024a9
2 changed files with 30 additions and 3 deletions

View file

@ -26,6 +26,7 @@ class AtomBindings {
static void Log(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetCurrentStackTrace(
const v8::FunctionCallbackInfo<v8::Value>& args);
static void ScheduleCallback(const v8::FunctionCallbackInfo<v8::Value>& args);
DISALLOW_COPY_AND_ASSIGN(AtomBindings);
};