kvision-common-remote
/
io.kvision.remote
/
KVRemoteAgent
/
webSocket
js
web
Socket
inline suspend fun <
PAR1
:
Any
,
PAR2
:
Any
>
webSocket
(noinline function: suspend
T
.(
ReceiveChannel
<
PAR1
>,
SendChannel
<
PAR2
>) ->
Unit
, noinline handler: suspend (
SendChannel
<
PAR1
>,
ReceiveChannel
<
PAR2
>) ->
Unit
)
Content copied to clipboard
Executes defined web socket connection
inline suspend fun <
PAR1
:
Any
,
PAR2
:
Any
>
webSocket
(noinline function: suspend
T
.(
ReceiveChannel
<
PAR1
>,
SendChannel
<
List
<
PAR2
>>) ->
Unit
, noinline handler: suspend (
SendChannel
<
PAR1
>,
ReceiveChannel
<
List
<
PAR2
>>) ->
Unit
)
Content copied to clipboard
Executes defined web socket connection returning list objects