maxTurnDuration property
The longest the system keeps dispatching in one event-loop turn before yielding. Defaults to 4 ms. A single handler that blocks for longer than this still holds the isolate; see blockingHandlerThreshold.
Implementation
final Duration? maxTurnDuration;