Skip to content

Commit

Permalink
Deploying to site from @ 2ec471f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Jul 16, 2024
1 parent b7da971 commit b2b73d5
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 119 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,6 @@ <h1 class="cover"><span><span>Factory</span></span></h1>
<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>
<div class="tabs-section-body">
<div data-togglable="PROPERTY">
<h2 class="">Properties</h2>
<div class="table"><a data-name="809518778%2FProperties%2F723931153" anchor-label="dispatchers" id="809518778%2FProperties%2F723931153" data-filterable-set=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":redwood-treehouse-host:dokkaHtmlPartial/commonMain" data-filterable-set=":redwood-treehouse-host:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="dispatchers.html"><span><span>dispatchers</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="809518778%2FProperties%2F723931153"></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=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">val </span><a href="dispatchers.html">dispatchers</a><span class="token operator">: </span><a href="../../-treehouse-dispatchers/index.html">TreehouseDispatchers</a></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div data-togglable="FUNCTION">
<h2 class="">Functions</h2>
<div class="table"><a data-name="-2024188833%2FFunctions%2F723931153" anchor-label="close" id="-2024188833%2FFunctions%2F723931153" data-filterable-set=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<div class="cover ">
<h1 class="cover"><span><span>close</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="close.html"><span class="token function">close</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span></div><p class="paragraph">Release the threads owned by this instance. On most platforms this will not release the UI thread, as it is not owned by this instance.</p><p class="paragraph">Most applications should not to call this; instead they should allow these dispatchers to run until the process exits. This may be useful in tests.</p></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="close.html"><span class="token function">close</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span></div><p class="paragraph">Release the threads owned by this instance. On most platforms this will not release the UI thread as it is not owned by this instance.</p><p class="paragraph">This is called by <a href="../-treehouse-app/close.html">TreehouseApp.close</a>.</p></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2024 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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<div class="breadcrumbs"><a href="../../index.html">redwood-treehouse-host</a><span class="delimiter">/</span><a href="../index.html">app.cash.redwood.treehouse</a><span class="delimiter">/</span><span class="current">TreehouseDispatchers</span></div>
<div class="cover ">
<h1 class="cover"><span>Treehouse</span><wbr><span><span>Dispatchers</span></span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-obj-c-name/index.html"><span class="token annotation builtin">ObjCName</span></a><span class="token punctuation">(</span><span>name<span class="token operator"> = </span><span class="breakable-word"><span class="token string">"TreehouseDispatchers"</span></span><span class="token punctuation">, </span></span><wbr><span>exact<span class="token operator"> = </span><span class="breakable-word"><span class="token boolean">true</span></span></span><wbr><span class="token punctuation">)</span></div></div><span class="token keyword">interface </span><a href="index.html">TreehouseDispatchers</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-auto-closeable/index.html">AutoCloseable</a></div><p class="paragraph">One of the trickiest things Treehouse needs to do is balance its two dispatchers:</p><ul><li><p class="paragraph"><a href="ui.html">ui</a> executes dispatched tasks on the platform's UI thread.</p></li><li><p class="paragraph"><a href="zipline.html">zipline</a> executes dispatched tasks on the thread where downloaded code executes.</p></li></ul><p class="paragraph">This class makes it easier to specify invariants on which dispatcher is expected for which work.</p></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-obj-c-name/index.html"><span class="token annotation builtin">ObjCName</span></a><span class="token punctuation">(</span><span>name<span class="token operator"> = </span><span class="breakable-word"><span class="token string">"TreehouseDispatchers"</span></span><span class="token punctuation">, </span></span><wbr><span>exact<span class="token operator"> = </span><span class="breakable-word"><span class="token boolean">true</span></span></span><wbr><span class="token punctuation">)</span></div></div><span class="token keyword">interface </span><a href="index.html">TreehouseDispatchers</a> : <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-auto-closeable/index.html">AutoCloseable</a></div><p class="paragraph">One of the trickiest things Treehouse needs to do is balance its two dispatchers:</p><ul><li><p class="paragraph"><a href="ui.html">ui</a> executes dispatched tasks on the platform's UI thread.</p></li><li><p class="paragraph"><a href="zipline.html">zipline</a> executes dispatched tasks on the thread where downloaded code executes.</p></li></ul><p class="paragraph">This class makes it easier to specify invariants on which dispatcher is expected for which work.</p><p class="paragraph">Each <a href="../-treehouse-app/index.html">TreehouseApp</a> gets its own instance of this class and has its own private Zipline thread. All apps share the same UI thread.</p></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>
Expand Down Expand Up @@ -143,7 +143,7 @@ <h2 class="">Functions</h2>
</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=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="close.html"><span class="token function">close</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Release the threads owned by this instance. On most platforms this will not release the UI thread, as it is not owned by this instance.</p></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-treehouse-host:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="close.html"><span class="token function">close</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span></div><div class="brief "><p class="paragraph">Release the threads owned by this instance. On most platforms this will not release the UI thread as it is not owned by this instance.</p></div></div></div>
</div>
</div>
</div>
Expand Down
Loading

0 comments on commit b2b73d5

Please sign in to comment.