Skip to content

Commit dfd2d9d

Browse files
committed
fix and update sample
1 parent a528e46 commit dfd2d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/app/src/main/java/com/hoc081098/channeleventbus/sample/android/common/SingleEventChannel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface HasSingleEventFlow<E> {
2525
}
2626

2727
@MainThread
28-
interface SingleEventFlowSender<E> {
28+
sealed interface SingleEventFlowSender<E> {
2929
/**
3030
* Must call in [Dispatchers.Main.immediate][kotlinx.coroutines.MainCoroutineDispatcher.immediate].
3131
* Safe to call in the coroutines launched by [androidx.lifecycle.viewModelScope].

0 commit comments

Comments
 (0)