handleEvent method

  1. @Since.new("3.13")
void handleEvent()

Handle at most one pending event for the isolate.

This function does nothing if there are no pending events.

This function will block until it acquires exclusive access to the target isolate. Isolate can only be entered for synchronous execution between turns of its event loop, when no other thread is executing code in the target isolate.

Similar to Dart_HandleMessage Dart VM C API.

Implementation

@Since("3.13")
external void handleEvent();