使用 eas-cli 版本 0.52.0,本地构建会按预期生成 apk。
当使用 eas-cli 版本 >= 0.53.0 时,出现以下错误:Cannot find module '@expo/config-plugins'。
我像往常一样使用以下命令:eas build --profile preview --platform android --local。
有什么帮助吗?提前致谢。
我想像分享 Flux 一样“分享”Mono。
Kotlin 的 Flux share() 示例:
fun `test flux share`() {
val countDownLatch = CountDownLatch(2)
val originalFlux = Flux.interval(Duration.ofMillis(200))
.map { "$it = ${Instant.now()}" }
.take(7)
.share()
.doOnTerminate {
countDownLatch.countDown()
}
println("Starting #1...")
originalFlux.subscribe {
println("#1: $it")
}
println("Waiting ##2...")
CountDownLatch(1).await(1000, TimeUnit.MILLISECONDS)
println("Starting ##2...")
originalFlux.subscribe {
println("##2: $it")
}
countDownLatch.await(10, TimeUnit.SECONDS)
println("End!")
}
Run Code Online (Sandbox Code Playgroud)
我找不到 Mono 的 share() 运算符。为什么它不存在?