Index: runtime/observatory/lib/src/models/objects/event.dart |
diff --git a/runtime/observatory/lib/src/models/objects/event.dart b/runtime/observatory/lib/src/models/objects/event.dart |
index 18f491ef6fb5b12f8a59d74f9d734770c02daf00..9fd73594879cf90ea1ccad2ad583c19cd37e0204 100644 |
--- a/runtime/observatory/lib/src/models/objects/event.dart |
+++ b/runtime/observatory/lib/src/models/objects/event.dart |
@@ -16,6 +16,7 @@ abstract class Event { |
event is PauseBreakpointEvent || |
event is PauseInterruptedEvent || |
event is PauseExceptionEvent || |
+ event is PausePostRequestEvent || |
event is NoneEvent; |
} |
} |
@@ -88,6 +89,15 @@ abstract class PauseInterruptedEvent extends DebugEvent { |
bool get atAsyncSuspension; |
} |
+abstract class PausePostRequestEvent extends DebugEvent { |
+ /// [optional] The top stack frame associated with this event. There will be |
+ /// no top frame if the isolate is idle (waiting in the message loop). |
+ Frame get topFrame; |
+ |
+ /// Is the isolate paused at an await, yield, or yield* statement? |
+ bool get atAsyncSuspension; |
+} |
+ |
abstract class PauseExceptionEvent extends DebugEvent { |
/// The top stack frame associated with this event. |
Frame get topFrame; |