Skip to content

Commit

Permalink
Improve documentation for Isolate.kill.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitschG committed Dec 20, 2016
1 parent bcd63e5 commit 82caf1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/lib/isolate/isolate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,8 @@ class Isolate {
* The isolate is requested to terminate itself.
* The [priority] argument specifies when this must happen.
*
* The [priority] must be one of [IMMEDIATE] or [BEFORE_NEXT_EVENT].
* The [priority], when provided, must be one of [IMMEDIATE] or
* [BEFORE_NEXT_EVENT] (the default).
* The shutdown is performed at different times depending on the priority:
*
* * `IMMEDIATE`: The isolate shuts down as soon as possible.
Expand Down

0 comments on commit 82caf1d

Please sign in to comment.