1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-16 13:49:26 +00:00
This commit is contained in:
InsanusMokrassar
2024-12-03 05:16:38 +00:00
parent 4a8b076f83
commit 69c0871ca2
28 changed files with 370 additions and 44 deletions

View File

@@ -62,7 +62,7 @@
<div class="breadcrumbs"><a href="../../index.html">tgbotapi.behaviour_builder</a><span class="delimiter">/</span><a href="../index.html">dev.inmo.tgbotapi.extensions.behaviour_builder</a><span class="delimiter">/</span><span class="current">CombinedSubcontextInitialAction</span></div>
<div class="cover ">
<h1 class="cover"><span>Combined</span><wbr><span>Subcontext</span><wbr><span>Initial</span><wbr><span><span>Action</span></span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="index.html">CombinedSubcontextInitialAction</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>subactions<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">&lt;</span><a href="-sub-action/index.html">CombinedSubcontextInitialAction.SubAction</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">logger<span class="token operator">: </span><span data-unresolved-link="dev.inmo.kslog.common/KSLog///PointingToDeclaration/">KSLog</span><span class="token operator"> = </span>KSLog("CombinedSubcontextInitialAction_${subactions.size}")</span></span><span class="token punctuation">)</span></div><p class="paragraph">Contains <a href="-sub-action/index.html">SubAction</a>s which will be used in <a href="subcontext-initial-action.html">subcontextInitialAction</a> in order they has been passed in <a href="subactions.html">subactions</a>.</p></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":tgbotapi.behaviour_builder:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="index.html">CombinedSubcontextInitialAction</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>subactions<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">&lt;</span><a href="-sub-action/index.html">CombinedSubcontextInitialAction.SubAction</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">logger<span class="token operator">: </span><span data-unresolved-link="dev.inmo.kslog.common/KSLog///PointingToDeclaration/">KSLog</span><span class="token operator"> = </span>KSLog("CombinedSubcontextInitialAction_${subactions.size}")</span></span><span class="token punctuation">)</span></div><p class="paragraph">Contains <a href="-sub-action/index.html">SubAction</a>s which will be used in <a href="subcontext-initial-action.html">subcontextInitialAction</a> in order they has been passed in <a href="subactions.html">subactions</a>.</p><p class="paragraph">Its <a href="subcontext-initial-action.html">subcontextInitialAction</a> will iterate over incoming <a href="subactions.html">subactions</a> until all will be completed successfully OR none will be successful during round of running:</p><ul><li><p class="paragraph">Run all</p></li><li><p class="paragraph">Exclude from current running successful items</p></li><li><p class="paragraph">Do again if there are some items to run</p></li></ul></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,PROPERTY,FUNCTION">Members</button></div>