ksrpc-service-worker
Experimental JS/WasmJS transport that communicates over browser service workers. Host a service in the worker with onServiceWorkerConnection, and connect from the main thread with createServiceWorkerWithConnection to obtain a Connection<String> backed by the registered worker script. Requires @OptIn(ExperimentalKsrpc::class).
Experimental JS/WasmJS transport that communicates over browser service workers. Host a service in the worker with onServiceWorkerConnection, and connect from the main thread with createServiceWorkerWithConnection to obtain a Connection<String> backed by the registered worker script. Requires @OptIn(ExperimentalKsrpc::class).
Experimental JS/WasmJS transport that communicates over browser service workers. Host a service in the worker with onServiceWorkerConnection, and connect from the main thread with createServiceWorkerWithConnection to obtain a Connection<String> backed by the registered worker script. Requires @OptIn(ExperimentalKsrpc::class).