Chromium Code Reviews| Index: runtime/include/dart_api.h |
| =================================================================== |
| --- runtime/include/dart_api.h (revision 2358) |
| +++ runtime/include/dart_api.h (working copy) |
| @@ -475,6 +475,10 @@ |
| * isolate. As new messages arrive, they are handled using |
| * Dart_HandleMessage. The routine exits when all ports to the |
| * current isolate are closed. |
| + * |
| + * \return A valid handle if the run loop exited successfully. If an |
| + * exception or other error occurs while processing messages, an |
| + * error handle is returned. |
|
tobyr
2011/12/14 17:48:32
Is the expectation that Dart_RunLoop can be succes
turnidge
2011/12/14 18:26:55
Yes, if the embedder would like to.
|
| */ |
| DART_EXPORT Dart_Handle Dart_RunLoop(); |
| // TODO(turnidge): Should this be removed from the public api? |