[][src]Function dart_sys::Dart_RunLoop

pub unsafe extern "C" fn Dart_RunLoop() -> Dart_Handle

Processes any incoming messages for the current isolate.

This function may only be used when the embedder has not provided an alternate message delivery mechanism with Dart_SetMessageCallbacks. It is provided for convenience.

This function waits for incoming messages for the current 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.