createServiceWorkerWithConnection
expect fun createServiceWorkerWithConnection(workerScriptPath: String, env: KsrpcEnvironment<String>): Connection<String>
Creates a connection to a service worker registered at workerScriptPath.
This is an experimental API — the service-worker transport has limited test coverage and its behavior may change without notice. Opt in explicitly with @OptIn(ExperimentalKsrpc::class).
actual fun createServiceWorkerWithConnection(workerScriptPath: String, env: KsrpcEnvironment<String>): Connection<String>
actual fun createServiceWorkerWithConnection(workerScriptPath: String, env: KsrpcEnvironment<String>): Connection<String>