Index: runtime/vm/dart_api_impl.cc |
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc |
index 71a8b8ed622ab8f93e2a147d79b018ac07bd2f4a..b8827c5b6f047f59050df2b04bc60e6ab3bdc347 100644 |
--- a/runtime/vm/dart_api_impl.cc |
+++ b/runtime/vm/dart_api_impl.cc |
@@ -1547,6 +1547,13 @@ DART_EXPORT bool Dart_HandleServiceMessages() { |
} |
+DART_EXPORT bool Dart_HasServiceMessages() { |
+ Isolate* isolate = Isolate::Current(); |
+ ASSERT(isolate); |
+ return isolate->message_handler()->HasOOBMessages(); |
+} |
+ |
+ |
DART_EXPORT bool Dart_HasLivePorts() { |
Isolate* isolate = Isolate::Current(); |
ASSERT(isolate); |