Chromium Code Reviews| Index: runtime/vm/service/service.md |
| diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md |
| index 5a6d6d64962dca8d8a1aa1d1f8937b4853a4c037..73e9cf7b5fb20e126f20b1b7f4ae879c943ce92f 100644 |
| --- a/runtime/vm/service/service.md |
| +++ b/runtime/vm/service/service.md |
| @@ -1732,15 +1732,32 @@ class MapAssociation { |
| ``` |
| class Message extends Response { |
| + // The index in the isolate's message queue. The 0th message being the next |
| + // message to be processed. |
| int index; |
| + |
| + // An advisory name describing this message. |
| string name; |
| + |
| + // An instance id for the decoded message. This id can be passed to other |
| + // RPCs, for example, getObject or evaluate. |
|
nweiz
2015/09/11 19:34:12
DBC: Mention that this will always be the ID for a
|
| string messageObjectId; |
| + |
| + // The size (bytes) of the encoded message. |
| int size; |
| + |
| + // A reference to the function that will be invoked to handle this message. |
| @Function handler [optional]; |
| + |
| + // The source location of handler. |
| SourceLocation location [optional]; |
| } |
| ``` |
| +A _Message_ provides information about a pending isolate message and the |
| +function that will be invoked to handle it. |
| + |
| + |
| ### Null |
| ``` |
| @@ -1998,15 +2015,15 @@ class UnresolvedSourceLocation extends Response { |
| // has yet to be loaded. |
| string scriptUri [optional]; |
| - // An approximate token position for the source location. This may |
| + // An approximate token position for the source location. This may |
| // change when the location is resolved. |
| int tokenPos [optional]; |
| - // An approximate line number for the source location. This may |
| + // An approximate line number for the source location. This may |
| // change when the location is resolved. |
| int line [optional]; |
| - // An approximate column number for the source location. This may |
| + // An approximate column number for the source location. This may |
| // change when the location is resolved. |
| int column [optional]; |