rename selectFile with result MPPFile to selectFileOrThrow

This commit is contained in:
2022-03-12 01:12:17 +06:00
parent 6dbd12df59
commit 4693483c2b
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import dev.inmo.micro_utils.common.selectFile
import kotlinx.coroutines.CompletableDeferred
import org.w3c.dom.HTMLInputElement
suspend fun selectFile(
suspend fun selectFileOrThrow(
inputSetup: (HTMLInputElement) -> Unit = {}
): MPPFile {
val result = CompletableDeferred<MPPFile>()