
jsMain.js.core.AsyncIterator.kt Maven / Gradle / Ivy
package js.core
import js.promise.PromiseResult
import kotlin.js.Promise
sealed external interface AsyncIterator {
val next: (/* ...args: [] | [TNext] */) -> Promise>
val `return`: ((value: PromiseResult?) -> Promise>)?
val `throw`: ((e: Throwable?) -> Promise>)?
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy