Skip to content

Commit 9d56c57

Browse files
committed
EventLoop made internal on native (just like elsewhere)
1 parent 2dfa0df commit 9d56c57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

native/kotlinx-coroutines-core-native/src/EventLoop.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import kotlin.system.*
1818
* It may optionally implement [Delay] interface and support time-scheduled tasks. It is used by [runBlocking] to
1919
* continue processing events when invoked from the event dispatch thread.
2020
*/
21-
public interface EventLoop {
21+
internal interface EventLoop {
2222
/**
2323
* Processes next event in this event loop.
2424
*
@@ -34,7 +34,7 @@ public interface EventLoop {
3434
* Creates a new event loop.
3535
*/
3636
@Suppress("FunctionName")
37-
public fun EventLoop(parentJob: Job? = null): CoroutineDispatcher =
37+
internal fun EventLoop(parentJob: Job? = null): CoroutineDispatcher =
3838
EventLoopImpl().apply {
3939
if (parentJob != null) initParentJob(parentJob)
4040
}

0 commit comments

Comments
 (0)