blob: a8783f6211519140a6893461974d650f798322c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>asyncSession - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.remote</a> / <a href="./async-session.html">asyncSession</a><br/>
<br/>
<h1>asyncSession</h1>
<a name="pl.treksoft.kvision.remote$asyncSession(pl.treksoft.kvision.remote.Request, kotlin.Function2((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.asyncSession.RESP)))"></a>
<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">RESP</span><span class="symbol">></span> <a href="-request.html"><span class="identifier">Request</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">asyncSession</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.remote$asyncSession(pl.treksoft.kvision.remote.Request, kotlin.Function2((pl.treksoft.kvision.remote.Request, , pl.treksoft.kvision.remote.asyncSession.RESP)))/block">block</span><span class="symbol">:</span> <span class="symbol">(</span><a href="-request.html"><span class="identifier">Request</span></a><span class="symbol">,</span> <span class="identifier"><ERROR CLASS></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="async-session.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Deferred</span><span class="symbol"><</span><a href="async-session.html#RESP"><span class="identifier">RESP</span></a><span class="symbol">></span></code>
<p>A helper extension function for asynchronous request processing with session.</p>
</BODY>
</HTML>
|