mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-23 10:38:44 +00:00
246 lines
37 KiB
HTML
246 lines
37 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
<title>dev.inmo.micro_utils.fsm.common</title>
|
|
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg">
|
|
<script>var pathToRoot = "../../";</script>
|
|
<script>const storage = localStorage.getItem("dokka-dark-mode")
|
|
if (storage == null) {
|
|
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
if (osDarkSchemePreferred === true) {
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}
|
|
} else {
|
|
const savedDarkMode = JSON.parse(storage)
|
|
if(savedDarkMode === true) {
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}
|
|
}
|
|
</script>
|
|
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script>
|
|
<link href="../../styles/style.css" rel="Stylesheet">
|
|
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet">
|
|
<link href="../../styles/main.css" rel="Stylesheet">
|
|
<link href="../../styles/prism.css" rel="Stylesheet">
|
|
<link href="../../styles/logo-styles.css" rel="Stylesheet">
|
|
<script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script>
|
|
<script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script>
|
|
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script>
|
|
<script type="text/javascript" src="../../scripts/main.js" defer="defer"></script>
|
|
<script type="text/javascript" src="../../scripts/prism.js" async="async"></script>
|
|
<script type="text/javascript" src="../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
|
|
</head>
|
|
<body>
|
|
<div class="navigation-wrapper" id="navigation-wrapper">
|
|
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
|
<div class="library-name">
|
|
<a href="../../index.html">
|
|
<span>micro_utils.dokka</span>
|
|
</a>
|
|
</div>
|
|
<div>
|
|
0.16.6 </div>
|
|
<div class="pull-right d-flex">
|
|
<div class="filter-section" id="filter-section">
|
|
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":micro_utils.dokka:dokkaHtml/commonMain">common</button>
|
|
</div>
|
|
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
|
|
<div id="searchBar"></div>
|
|
</div>
|
|
</div>
|
|
<div id="container">
|
|
<div id="leftColumn">
|
|
<div id="sideMenu"></div>
|
|
</div>
|
|
<div id="main">
|
|
<div class="main-content" id="content" pageIds="micro_utils.dokka::dev.inmo.micro_utils.fsm.common////PointingToDeclaration//-1478683138">
|
|
<div class="breadcrumbs"><a href="../../index.html">micro_utils.dokka</a><span class="delimiter">/</span><span class="current">dev.inmo.micro_utils.fsm.common</span></div>
|
|
<div class="cover ">
|
|
<h1 class="cover"><span><span>Package-level</span></span> <span><span>declarations</span></span></h1>
|
|
</div>
|
|
<div class="tabbedcontent">
|
|
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button></div>
|
|
<div class="tabs-section-body">
|
|
<h2 class="">Types</h2>
|
|
<div class="table" data-togglable="Types"><a data-name="1569721837%2FClasslikes%2F-1478683138" anchor-label="CheckableHandlerHolder" id="1569721837%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-checkable-handler-holder/index.html"><span>Checkable</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1569721837%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-checkable-handler-holder/index.html">CheckableHandlerHolder</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder/index.html">I</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder/index.html">O</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span> : <a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder/index.html">I</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder/index.html">O</a><span class="token operator">> </span></div><div class="brief "><p class="paragraph">Define checkable holder which can be used to precheck that this handler may handle incoming <a href="-state/index.html">State</a></p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1717131175%2FClasslikes%2F-1478683138" anchor-label="CustomizableHandlerHolder" id="1717131175%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-customizable-handler-holder/index.html"><span>Customizable</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1717131175%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-customizable-handler-holder/index.html">CustomizableHandlerHolder</a><span class="token operator"><</span><span class="token keyword"></span><a href="-customizable-handler-holder/index.html">I</a><span class="token operator"> : </span><a href="-customizable-handler-holder/index.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-customizable-handler-holder/index.html">O</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">delegateTo<span class="token operator">: </span><a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-customizable-handler-holder/index.html">I</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-customizable-handler-holder/index.html">O</a><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">filter<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span>state<span class="token operator">: </span><a href="-customizable-handler-holder/index.html">O</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span> : <a href="-checkable-handler-holder/index.html">CheckableHandlerHolder</a><span class="token operator"><</span><span class="token keyword"></span><a href="-customizable-handler-holder/index.html">I</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-customizable-handler-holder/index.html">O</a><span class="token operator">> </span></div><div class="brief "><p class="paragraph">Default realization of <a href="-states-handler/index.html">StatesHandler</a>. It will incapsulate checking of <a href="-state/index.html">State</a> type in <a href="-customizable-handler-holder/check-handleable.html">checkHandleable</a> and class casting in <a href="-customizable-handler-holder/handle-state.html">handleState</a></p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-695753955%2FClasslikes%2F-1478683138" anchor-label="DefaultStatesMachine" id="-695753955%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-default-states-machine/index.html"><span>Default</span><wbr></wbr><span>States</span><wbr></wbr><span><span>Machine</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-695753955%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">class </span><a href="-default-states-machine/index.html">DefaultStatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-states-machine/index.html">T</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">statesManager<span class="token operator">: </span><a href="-states-manager/index.html">StatesManager</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-states-machine/index.html">T</a><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">handlers<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder/index.html">CheckableHandlerHolder</a><span class="token operator"><</span><span class="token keyword">in </span><a href="-default-states-machine/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-default-states-machine/index.html">T</a><span class="token operator">></span><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">onStateHandlingErrorHandler<span class="token operator">: </span><a href="../dev.inmo.micro_utils.fsm.common.utils/index.html#1655009510%2FClasslikes%2F-1478683138">StateHandlingErrorHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-states-machine/index.html">T</a><span class="token operator">></span><span class="token operator"> = </span>defaultStateHandlingErrorHandler()</span></span><span class="token punctuation">)</span> : <a href="-states-machine/index.html">StatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-states-machine/index.html">T</a><span class="token operator">> </span></div><div class="brief "><p class="paragraph">Default realization of <a href="-states-machine/index.html">StatesMachine</a>. It uses <span data-unresolved-link="dev.inmo.micro_utils.fsm.common/DefaultStatesMachine/statesManager/#/PointingToDeclaration/">statesManager</span> for incapsulation of <a href="-state/index.html">State</a>s storing and contexts resolving, and uses <a href="-default-states-machine/launch-state-handling.html">launchStateHandling</a> for <a href="-state/index.html">State</a> handling.</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1080667633%2FClasslikes%2F-1478683138" anchor-label="DefaultUpdatableStatesMachine" id="1080667633%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-default-updatable-states-machine/index.html"><span>Default</span><wbr></wbr><span>Updatable</span><wbr></wbr><span>States</span><wbr></wbr><span><span>Machine</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1080667633%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">class </span><a href="-default-updatable-states-machine/index.html">DefaultUpdatableStatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-updatable-states-machine/index.html">T</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">statesManager<span class="token operator">: </span><a href="-states-manager/index.html">StatesManager</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-updatable-states-machine/index.html">T</a><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">handlers<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html">List</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder/index.html">CheckableHandlerHolder</a><span class="token operator"><</span><span class="token keyword">in </span><a href="-default-updatable-states-machine/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-default-updatable-states-machine/index.html">T</a><span class="token operator">></span><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">onStateHandlingErrorHandler<span class="token operator">: </span><a href="../dev.inmo.micro_utils.fsm.common.utils/index.html#1655009510%2FClasslikes%2F-1478683138">StateHandlingErrorHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-updatable-states-machine/index.html">T</a><span class="token operator">></span><span class="token operator"> = </span>defaultStateHandlingErrorHandler()</span></span><span class="token punctuation">)</span> : <a href="-default-states-machine/index.html">DefaultStatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-updatable-states-machine/index.html">T</a><span class="token operator">> </span>, <a href="-updatable-states-machine/index.html">UpdatableStatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-default-updatable-states-machine/index.html">T</a><span class="token operator">> </span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="7129392%2FClasslikes%2F-1478683138" anchor-label="State" id="7129392%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-state/index.html"><span><span>State</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="7129392%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-state/index.html">State</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1089641799%2FClasslikes%2F-1478683138" anchor-label="StatesHandler" id="-1089641799%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-states-handler/index.html"><span>States</span><wbr></wbr><span><span>Handler</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1089641799%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">fun </span><span class="token keyword">interface </span><a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-states-handler/index.html">I</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-states-handler/index.html">O</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span></div><div class="brief "><p class="paragraph">Default realization of states handler</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="523246684%2FClasslikes%2F-1478683138" anchor-label="StatesMachine" id="523246684%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-states-machine/index.html"><span>States</span><wbr></wbr><span><span>Machine</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="523246684%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-states-machine/index.html">StatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-states-machine/index.html">T</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span> : <a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-states-machine/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-states-machine/index.html">T</a><span class="token operator">> </span></div><div class="brief "><p class="paragraph">Default <a href="-states-machine/index.html">StatesMachine</a> may <a href="-states-machine/start-chain.html">startChain</a> and use inside logic for handling <a href="-state/index.html">State</a>s. By default you may use <a href="-default-states-machine/index.html">DefaultStatesMachine</a> or build it with <a href="../dev.inmo.micro_utils.fsm.common.dsl/build-f-s-m.html">dev.inmo.micro_utils.fsm.common.dsl.buildFSM</a>. Implementers MUST NOT start handling until <a href="-states-machine/start.html">start</a> method will be called</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="939118518%2FClasslikes%2F-1478683138" anchor-label="StatesManager" id="939118518%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-states-manager/index.html"><span>States</span><wbr></wbr><span><span>Manager</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="939118518%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-states-manager/index.html">StatesManager</a><span class="token operator"><</span><span class="token keyword"></span><a href="-states-manager/index.html">T</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="155986834%2FClasslikes%2F-1478683138" anchor-label="UpdatableStatesMachine" id="155986834%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-updatable-states-machine/index.html"><span>Updatable</span><wbr></wbr><span>States</span><wbr></wbr><span><span>Machine</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="155986834%2FClasslikes%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-updatable-states-machine/index.html">UpdatableStatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-updatable-states-machine/index.html">T</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">></span> : <a href="-states-machine/index.html">StatesMachine</a><span class="token operator"><</span><span class="token keyword"></span><a href="-updatable-states-machine/index.html">T</a><span class="token operator">> </span></div><div class="brief "><p class="paragraph">This extender of <a href="-states-machine/index.html">StatesMachine</a> interface declare one new function <a href="-updatable-states-machine/update-chain.html">updateChain</a>. Realizations of this interface must be able to perform update of chain in internal <a href="-states-manager/index.html">StatesManager</a></p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 class="">Functions</h2>
|
|
<div class="table" data-togglable="Functions"><a data-name="648609072%2FFunctions%2F-1478683138" anchor-label="CheckableHandlerHolder" id="648609072%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-checkable-handler-holder.html"><span>Checkable</span><wbr></wbr><span>Handler</span><wbr></wbr><span><span>Holder</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="648609072%2FFunctions%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder.html">I</a><span class="token operator"> : </span><a href="-checkable-handler-holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">> </span><a href="-checkable-handler-holder.html"><span class="token function">CheckableHandlerHolder</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">strict<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">false</span><span class="token punctuation">, </span></span><span class="parameter ">delegateTo<span class="token operator">: </span><a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder.html">I</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token operator">></span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-customizable-handler-holder/index.html">CustomizableHandlerHolder</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token operator">></span></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder.html">I</a><span class="token operator"> : </span><a href="-checkable-handler-holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">> </span><a href="-checkable-handler-holder.html"><span class="token function">CheckableHandlerHolder</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">inputKlass<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html">KClass</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder.html">I</a><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">strict<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">false</span><span class="token punctuation">, </span></span><span class="parameter ">delegateTo<span class="token operator">: </span><a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder.html">I</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token operator">></span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-customizable-handler-holder/index.html">CustomizableHandlerHolder</a><span class="token operator"><</span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-checkable-handler-holder.html">O</a><span class="token operator">></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1180048627%2FFunctions%2F-1478683138" anchor-label="holder" id="1180048627%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="holder.html"><span><span>holder</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1180048627%2FFunctions%2F-1478683138"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="holder.html">I</a><span class="token operator"> : </span><a href="holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="holder.html">O</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">> </span><a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="holder.html">I</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="holder.html">O</a><span class="token operator">></span><span class="token punctuation">.</span><a href="holder.html"><span class="token function">holder</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">strict<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span><span class="token boolean">true</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-customizable-handler-holder/index.html">CustomizableHandlerHolder</a><span class="token operator"><</span><span class="token keyword"></span><a href="holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="holder.html">O</a><span class="token operator">></span></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="holder.html">I</a><span class="token operator"> : </span><a href="holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="holder.html">O</a><span class="token operator"> : </span><a href="-state/index.html">State</a><span class="token operator">> </span><a href="-states-handler/index.html">StatesHandler</a><span class="token operator"><</span><span class="token keyword"></span><a href="holder.html">I</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="holder.html">O</a><span class="token operator">></span><span class="token punctuation">.</span><a href="holder.html"><span class="token function">holder</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">noinline </span>filter<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span>state<span class="token operator">: </span><a href="-state/index.html">State</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-customizable-handler-holder/index.html">CustomizableHandlerHolder</a><span class="token operator"><</span><span class="token keyword"></span><a href="holder.html">O</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="holder.html">O</a><span class="token operator">></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footer">
|
|
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2023 Copyright</span><span
|
|
class="pull-right"><span>Generated by </span><a
|
|
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|