You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/0.x/compose/io.github.kevincianfarini.monarch/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ <h2 class="">Functions</h2>
78
78
</span></span></div>
79
79
<div>
80
80
<divclass="title">
81
-
<divclass="platform-hinted " data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content" data-active="" data-togglable=":compose:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><spandata-unresolved-link="androidx.compose.runtime/Composable///PointingToDeclaration/"><spanclass="token annotation builtin">Composable</span></span></div></div><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token operator">> </span><ahref="../../core/io.github.kevincianfarini.monarch/-observable-feature-flag-manager/index.html">ObservableFeatureFlagManager</a><spanclass="token punctuation">.</span><ahref="state-of.html"><spanclass="token function">stateOf</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">flag<spanclass="token operator">: </span><ahref="../../core/io.github.kevincianfarini.monarch/-feature-flag/index.html">FeatureFlag</a><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></div><divclass="brief "><pclass="paragraph">Acquire a <spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span> of <ahref="state-of.html">flag</a> that updates according to the underlying flag's value. The initial value of the returned state will be the <ahref="../../core/io.github.kevincianfarini.monarch/-feature-flag/default.html">FeatureFlag.default</a>.</p></div></div></div>
81
+
<divclass="platform-hinted " data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content" data-active="" data-togglable=":compose:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><spandata-unresolved-link="androidx.compose.runtime/Composable///PointingToDeclaration/"><spanclass="token annotation builtin">Composable</span></span></div></div><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token operator">> </span><ahref="../../core/io.github.kevincianfarini.monarch/-observable-feature-flag-manager/index.html">ObservableFeatureFlagManager</a><spanclass="token punctuation">.</span><ahref="state-of.html"><spanclass="token function">stateOf</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">flag<spanclass="token operator">: </span><ahref="../../core/io.github.kevincianfarini.monarch/-feature-flag/index.html">FeatureFlag</a><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></div><divclass="brief "><pclass="paragraph">Acquire a <spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span> of <ahref="state-of.html">flag</a> that updates according to the underlying flag's value. The initial value of the returned state will be the flag's current value.</p></div></div></div>
<divclass="platform-hinted " data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content" data-active="" data-togglable=":compose:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><spandata-unresolved-link="androidx.compose.runtime/Composable///PointingToDeclaration/"><spanclass="token annotation builtin">Composable</span></span></div></div><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token operator">> </span><ahref="../../core/io.github.kevincianfarini.monarch/-observable-feature-flag-manager/index.html">ObservableFeatureFlagManager</a><spanclass="token punctuation">.</span><ahref="state-of.html"><spanclass="token function">stateOf</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">flag<spanclass="token operator">: </span><ahref="../../core/io.github.kevincianfarini.monarch/-feature-flag/index.html">FeatureFlag</a><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></div><pclass="paragraph">Acquire a <spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span> of <ahref="state-of.html">flag</a> that updates according to the underlying flag's value. The initial value of the returned state will be the <ahref="../../core/io.github.kevincianfarini.monarch/-feature-flag/default.html">FeatureFlag.default</a>.</p></div></div>
66
+
<divclass="platform-hinted " data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content" data-active="" data-togglable=":compose:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><spandata-unresolved-link="androidx.compose.runtime/Composable///PointingToDeclaration/"><spanclass="token annotation builtin">Composable</span></span></div></div><spanclass="token keyword">fun </span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token operator">> </span><ahref="../../core/io.github.kevincianfarini.monarch/-observable-feature-flag-manager/index.html">ObservableFeatureFlagManager</a><spanclass="token punctuation">.</span><ahref="state-of.html"><spanclass="token function">stateOf</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">flag<spanclass="token operator">: </span><ahref="../../core/io.github.kevincianfarini.monarch/-feature-flag/index.html">FeatureFlag</a><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span><spanclass="token operator"><</span><ahref="state-of.html">T</a><spanclass="token operator">></span></div><pclass="paragraph">Acquire a <spandata-unresolved-link="androidx.compose.runtime/State///PointingToDeclaration/">State</span> of <ahref="state-of.html">flag</a> that updates according to the underlying flag's value. The initial value of the returned state will be the flag's current value.</p></div></div>
0 commit comments