mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-11-15 11:30:19 +00:00
deploy: 2bbd2e0679
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
<div class="cover ">
|
||||
<h1 class="cover"><span>do</span><wbr><span>In</span><wbr><span><span>Context</span></span></h1>
|
||||
</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">suspend </span><span class="token keyword">fun </span><span class="token operator"><</span><a href="do-in-context.html">T</a><span class="token punctuation">, </span><a href="do-in-context.html">BC</a><span class="token operator"> : </span><a href="-behaviour-context/index.html">BehaviourContext</a><span class="token operator">> </span><a href="do-in-context.html">BC</a><span class="token punctuation">.</span><a href="do-in-context.html"><span class="token function">doInContext</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">behaviourContextReceiver<span class="token operator">: </span><a href="-custom-behaviour-context-receiver/index.html">CustomBehaviourContextReceiver</a><span class="token operator"><</span><a href="do-in-context.html">BC</a><span class="token punctuation">, </span><a href="do-in-context.html">T</a><span class="token operator">></span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="do-in-context.html">T</a></div><p class="paragraph">Launch <a href="do-in-context.html">behaviourContextReceiver</a> in context of <a href="../../tgbotapi.behaviour_builder/dev.inmo.tgbotapi.extensions.behaviour_builder/index.html">this</a> as <a href="-behaviour-context/index.html">BehaviourContext</a> and as <a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html">kotlin.coroutines.CoroutineContext</a></p><p class="paragraph"><a href="-behaviour-context/index.html">this</a> will <strong>NOT</strong> be closed automatically</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">suspend </span><span class="token keyword">fun </span><span class="token operator"><</span><a href="do-in-context.html">T</a><span class="token punctuation">, </span><a href="do-in-context.html">BC</a><span class="token operator"> : </span><a href="-behaviour-context/index.html">BehaviourContext</a><span class="token operator">> </span><a href="do-in-context.html">BC</a><span class="token punctuation">.</span><a href="do-in-context.html"><span class="token function">doInContext</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">behaviourContextReceiver<span class="token operator">: </span><a href="-custom-behaviour-context-receiver/index.html">CustomBehaviourContextReceiver</a><span class="token operator"><</span><a href="do-in-context.html">BC</a><span class="token punctuation">, </span><a href="do-in-context.html">T</a><span class="token operator">></span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="do-in-context.html">T</a></div><p class="paragraph">Launch <a href="do-in-context.html">behaviourContextReceiver</a> in context of <a href="../../tgbotapi.behaviour_builder/dev.inmo.tgbotapi.extensions.behaviour_builder/index.html">this</a> as <a href="-behaviour-context/index.html">BehaviourContext</a> and as <a href="https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html">CoroutineContext</a></p><p class="paragraph"><a href="-behaviour-context/index.html">this</a> will <strong>NOT</strong> be closed automatically</p></div></div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<a href="#content" id="go-to-top-link" class="footer--button footer--button_go-to-top"></a>
|
||||
|
||||
Reference in New Issue
Block a user