Skip to content

Commit 5212ddf

Browse files
committed
add intellij.kt template
1 parent 4609271 commit 5212ddf

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package kotlinx.coroutines.internal.intellij
2+
3+
import kotlinx.coroutines.InternalCoroutinesApi
4+
5+
/**
6+
* [IntellijCoroutines] exposes the API added as part of IntelliJ patches.
7+
* Prefer to use the corresponding API from the IntelliJ Platform instead of accessing this object directly.
8+
*/
9+
@InternalCoroutinesApi
10+
public object IntellijCoroutines {
11+
12+
}

kotlinx-coroutines-core/jvm/src/module-info.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
exports kotlinx.coroutines.flow.internal;
1717
exports kotlinx.coroutines.future;
1818
exports kotlinx.coroutines.internal;
19+
exports kotlinx.coroutines.internal.intellij;
1920
exports kotlinx.coroutines.intrinsics;
2021
exports kotlinx.coroutines.scheduling;
2122
exports kotlinx.coroutines.selects;

0 commit comments

Comments
 (0)