Index: runtime/include/dart_api.h |
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h |
index cd5b76fa510f9bcc4671d21a876102aab85ae8c9..f27c501f9eec6406e32a4f3b30f6a513b77ec205 100755 |
--- a/runtime/include/dart_api.h |
+++ b/runtime/include/dart_api.h |
@@ -1133,6 +1133,13 @@ DART_EXPORT Dart_Handle Dart_HandleMessage(); |
DART_EXPORT bool Dart_HandleServiceMessages(); |
/** |
+ * Does the current isolate have pending service messages? |
+ * |
+ * \return true if the isolate has pending service messages, false otherwise. |
+ */ |
+DART_EXPORT bool Dart_HasServiceMessages(); |
+ |
+/** |
* Processes any incoming messages for the current isolate. |
* |
* This function may only be used when the embedder has not provided |