fix DF version

This commit is contained in:
Alexander Nozik 2021-11-24 14:30:43 +03:00
parent a715c2660a
commit 8d74bc55d1
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ plugins {
// kotlin("js") version "1.5.30" apply false
}
val dataforgeVersion by extra("0.5.2-dev-2")
val dataforgeVersion by extra("0.5.2-dev-3")
val fxVersion by extra("11")
allprojects {

View File

@ -17,7 +17,7 @@ import space.kscience.visionforge.html.VisionTagConsumer.Companion.OUTPUT_ENDPOI
import space.kscience.visionforge.html.VisionTagConsumer.Companion.OUTPUT_FETCH_ATTRIBUTE
import space.kscience.visionforge.html.VisionTagConsumer.Companion.OUTPUT_NAME_ATTRIBUTE
import kotlin.reflect.KClass
import kotlin.time.Duration
import kotlin.time.Duration.Companion.milliseconds
public class VisionClient : AbstractPlugin() {
override val tag: PluginTag get() = Companion.tag
@ -105,7 +105,7 @@ public class VisionClient : AbstractPlugin() {
onopen = {
feedbackJob = vision.flowChanges(
visionManager,
Duration.Companion.milliseconds(300)
300.milliseconds
).onEach { change ->
send(visionManager.encodeToString(change))
}.launchIn(visionManager.context)