File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import kotlin.coroutines.experimental.suspendCoroutine
3333 * Cancellable continuation has three states:
3434 *
3535 * | **State** | [isActive] | [isCompleted] | [isCancelled] |
36+ * | ----------------------------------- | ---------- | ------------- | ------------- |
3637 * | _Active_ (initial state) | `true` | `false` | `false` |
3738 * | _Resumed_ (final _completed_ state) | `false` | `true` | `false` |
3839 * | _Canceled_ (final _completed_ state)| `false` | `true` | `true` |
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import kotlin.coroutines.experimental.startCoroutine
2727 * Deferred value has four or five possible states.
2828 *
2929 * | **State** | [isActive] | [isCompleted] | [isCompletedExceptionally] | [isCancelled] |
30+ * | -------------------------------- | ---------- | ------------- | -------------------------- | ------------- |
3031 * | _New_ (optional initial state) | `false` | `false` | `false` | `false` |
3132 * | _Active_ (default initial state) | `true` | `false` | `false` | `false` |
3233 * | _Resolved_ (final state) | `false` | `true` | `false` | `false` |
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import kotlin.coroutines.experimental.CoroutineContext
3535 * A job has two or three states:
3636 *
3737 * | **State** | [isActive] | [isCompleted] |
38+ * | -------------------------------- | ---------- | ------------- |
3839 * | _New_ (optional initial state) | `false` | `false` |
3940 * | _Active_ (default initial state) | `true` | `false` |
4041 * | _Completed_ (final state) | `false` | `true` |
You can’t perform that action at this time.
0 commit comments