blob: 29e01246394cf45223bcf21997d0cdfc9ac08d5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ObservableValue.subscribe - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.state</a> / <a href="index.html">ObservableValue</a> / <a href="./subscribe.html">subscribe</a><br/>
<br/>
<h1>subscribe</h1>
(js) <a name="pl.treksoft.kvision.state.ObservableValue$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableValue.T, kotlin.Unit)))"></a>
<code><span class="keyword">fun </span><span class="identifier">subscribe</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.state.ObservableValue$subscribe(kotlin.Function1((pl.treksoft.kvision.state.ObservableValue.T, kotlin.Unit)))/observer">observer</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">T</span><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><span class="symbol">)</span><span class="symbol">: </span><span class="symbol">(</span><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>Subscribe for the state change notifications.</p>
</BODY>
</HTML>
|