0.2.0 #71

Merged
altavir merged 139 commits from dev into master 2022-01-24 09:44:18 +03:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 8d74bc55d1 - Show all commits

View File

@ -4,7 +4,7 @@ plugins {
// kotlin("js") version "1.5.30" apply false // 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") val fxVersion by extra("11")
allprojects { 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_FETCH_ATTRIBUTE
import space.kscience.visionforge.html.VisionTagConsumer.Companion.OUTPUT_NAME_ATTRIBUTE import space.kscience.visionforge.html.VisionTagConsumer.Companion.OUTPUT_NAME_ATTRIBUTE
import kotlin.reflect.KClass import kotlin.reflect.KClass
import kotlin.time.Duration import kotlin.time.Duration.Companion.milliseconds
public class VisionClient : AbstractPlugin() { public class VisionClient : AbstractPlugin() {
override val tag: PluginTag get() = Companion.tag override val tag: PluginTag get() = Companion.tag
@ -105,7 +105,7 @@ public class VisionClient : AbstractPlugin() {
onopen = { onopen = {
feedbackJob = vision.flowChanges( feedbackJob = vision.flowChanges(
visionManager, visionManager,
Duration.Companion.milliseconds(300) 300.milliseconds
).onEach { change -> ).onEach { change ->
send(visionManager.encodeToString(change)) send(visionManager.encodeToString(change))
}.launchIn(visionManager.context) }.launchIn(visionManager.context)