Skip to content

Commit 0c86700

Browse files
committed
add intellij.kt template
1 parent b49f2aa commit 0c86700

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
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

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
exports kotlinx.coroutines.flow.internal;
1818
exports kotlinx.coroutines.future;
1919
exports kotlinx.coroutines.internal;
20+
exports kotlinx.coroutines.internal.intellij;
2021
exports kotlinx.coroutines.intrinsics;
2122
exports kotlinx.coroutines.scheduling;
2223
exports kotlinx.coroutines.selects;

0 commit comments

Comments
 (0)