Commit 27b8f45
committed
API Review for 1.0 release
Introduces annotation to mark different maturities of coroutines API:
* ExperimentalCoroutinesApi for declarations that are not stable yet
* ObsoleteCoroutinesApi for declarations that will be reworked for sure
* InternalCoroutinesApi for declarations that should not be outside
Changes:
* Updated guide tests
* TimeUnit is deprecated, everything is in ms now
Converting small delays < 1ms to 1ms delay
Fixes #2551 parent 1d48a7c commit 27b8f45
File tree
105 files changed
+1765
-531
lines changed- binary-compatibility-validator/reference-public-api
- common/kotlinx-coroutines-core-common
- src
- channels
- intrinsics
- selects
- sync
- timeunit
- test
- channels
- core/kotlinx-coroutines-core
- src
- channels
- scheduling
- test_
- timeunit
- test
- channels
- exceptions
- guide/test
- docs
- integration
- kotlinx-coroutines-guava/src
- kotlinx-coroutines-jdk8/src
- channels8
- future
- time
- kotlinx-coroutines-slf4j/src
- js/kotlinx-coroutines-core-js
- src
- native/kotlinx-coroutines-core-native
- src
- reactive
- kotlinx-coroutines-reactive/src
- kotlinx-coroutines-reactor/src
- kotlinx-coroutines-rx2/src
- ui
- kotlinx-coroutines-android/src
- kotlinx-coroutines-javafx/src
- kotlinx-coroutines-swing/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
105 files changed
+1765
-531
lines changedLines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 1 | | |
7 | 2 | | |
8 | 3 | | |
| |||
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
15 | | - | |
| 10 | + | |
16 | 11 | | |
17 | | - | |
| 12 | + | |
18 | 13 | | |
19 | 14 | | |
20 | 15 | | |
| |||
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
27 | | - | |
| 22 | + | |
| 23 | + | |
28 | 24 | | |
29 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
33 | | - | |
34 | 31 | | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
Lines changed: 71 additions & 24 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | | - | |
7 | | - | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
| 27 | + | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
| 33 | + | |
30 | 34 | | |
31 | | - | |
32 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
75 | 77 | | |
76 | | - | |
77 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
0 commit comments