diff --git a/controls-magix/src/commonMain/kotlin/space/kscience/controls/client/controlsMagix.kt b/controls-magix/src/commonMain/kotlin/space/kscience/controls/client/controlsMagix.kt index 1c6f556..5fe99c3 100644 --- a/controls-magix/src/commonMain/kotlin/space/kscience/controls/client/controlsMagix.kt +++ b/controls-magix/src/commonMain/kotlin/space/kscience/controls/client/controlsMagix.kt @@ -40,7 +40,7 @@ internal fun generateId(request: MagixMessage): String = if (request.id != null) */ public fun DeviceManager.launchMagixService( endpoint: MagixEndpoint, - endpointID: String = controlsMagixFormat.defaultFormat, + endpointID: String, coroutineContext: CoroutineContext = EmptyCoroutineContext, ): Job = context.launch(coroutineContext) { endpoint.subscribe(controlsMagixFormat, targetFilter = listOf(endpointID, null)).onEach { (request, payload) ->