summaryrefslogtreecommitdiff
path: root/src/node_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_platform.h')
-rw-r--r--src/node_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/node_platform.h b/src/node_platform.h
index cf0809ad1f..f6a177c924 100644
--- a/src/node_platform.h
+++ b/src/node_platform.h
@@ -72,6 +72,8 @@ class PerIsolatePlatformData :
bool FlushForegroundTasksInternal();
void CancelPendingDelayedTasks();
+ const uv_loop_t* event_loop() const { return loop_; }
+
private:
void DeleteFromScheduledTasks(DelayedTask* task);