if (tick_info->in_tick()) {
return ret;
}
…
tick_info->set_in_tick(true);
env->tick_callback_function()->Call(process, 0, NULL);
tick_info->set_in_tick(false);
thanks!
Can recursive/nested ticks happen in node? I mean functions registered with process.nextTick()? Is this possible in user land or node-core only?
i'm trying to make sense of the below code from node.cc:if (tick_info->in_tick()) {
return ret;
}
…
tick_info->set_in_tick(true);
env->tick_callback_function()->Call(process, 0, NULL);
tick_info->set_in_tick(false);