summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-k-v-remote-agent/web-socket.html
blob: 3e4b0ad03a85a79386f316cd05ec7ec293d00a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>KVRemoteAgent.webSocket - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.remote</a>&nbsp;/&nbsp;<a href="index.html">KVRemoteAgent</a>&nbsp;/&nbsp;<a href="./web-socket.html">webSocket</a><br/>
<br/>
<h1>webSocket</h1>
(js) <a name="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)))"></a>
<code><span class="keyword">suspend</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">webSocket</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><span class="identifier">T</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">ReceiveChannel</span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">SendChannel</span><span class="symbol">&lt;</span><span class="identifier">PAR2</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)), kotlin.Unit)))/handler">handler</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><span class="symbol">(</span><span class="identifier">SendChannel</span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">ReceiveChannel</span><span class="symbol">&lt;</span><span class="identifier">PAR2</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Executes defined web socket connection</p>
(js) <a name="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.SendChannel((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.ReceiveChannel((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)))"></a>
<code><span class="keyword">suspend</span> <span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR1</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">, </span><span class="keyword">reified</span>&nbsp;<span class="identifier">PAR2</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <span class="identifier">webSocket</span><span class="symbol">(</span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.SendChannel((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.ReceiveChannel((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><span class="identifier">T</span><span class="symbol">.</span><span class="symbol">(</span><span class="identifier">ReceiveChannel</span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">SendChannel</span><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><span class="identifier">PAR2</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.remote.KVRemoteAgent$webSocket(kotlin.coroutines.SuspendFunction3((pl.treksoft.kvision.remote.KVRemoteAgent.T, kotlinx.coroutines.channels.ReceiveChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.SendChannel((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)), kotlin.coroutines.SuspendFunction2((kotlinx.coroutines.channels.SendChannel((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR1)), kotlinx.coroutines.channels.ReceiveChannel((kotlin.collections.List((pl.treksoft.kvision.remote.KVRemoteAgent.webSocket.PAR2)))), kotlin.Unit)))/handler">handler</span><span class="symbol">:</span>&nbsp;<span class="keyword">suspend </span><span class="symbol">(</span><span class="identifier">SendChannel</span><span class="symbol">&lt;</span><span class="identifier">PAR1</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">ReceiveChannel</span><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><span class="identifier">PAR2</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code>
<p>Executes defined web socket connection returning list objects</p>
</BODY>
</HTML>