We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed9624 commit 3feeaf9Copy full SHA for 3feeaf9
model-server/src/main/kotlin/org/modelix/model/server/handlers/LightModelServer.kt
@@ -358,18 +358,10 @@ class LightModelServer(val client: LocalModelClient) {
358
node.allChildren.forEach { node2json(it, true, outputList) }
359
}
360
361
-
362
- companion object {
363
- private val LOG = mu.KotlinLogging.logger { }
364
- }
365
366
367
private suspend fun <T> Channel<T>.receiveLast(): T {
368
var latest = receive()
369
while (!isEmpty) latest = receive()
370
return latest
371
372
373
-private fun Channel<*>.clear() {
374
- while (!isEmpty) tryReceive()
375
-}
0 commit comments