Skip to content

Commit

Permalink
Deploying to site from @ d496ac0 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Nov 21, 2024
1 parent acf4392 commit e6280b7
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@
<div class="sidebar--inner" id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" data-page-type="member" id="content" pageids="redwood-protocol-guest::app.cash.redwood.protocol.guest/GuestProtocolAdapter/GuestProtocolAdapter/#app.cash.redwood.protocol.RedwoodVersion/PointingToDeclaration//1634211329">
<div class="main-content" data-page-type="member" id="content" pageids="redwood-protocol-guest::app.cash.redwood.protocol.guest/GuestProtocolAdapter/GuestProtocolAdapter/#/PointingToDeclaration//1634211329">
<div class="breadcrumbs"><a href="../../index.html">redwood-protocol-guest</a><span class="delimiter">/</span><a href="../index.html">app.cash.redwood.protocol.guest</a><span class="delimiter">/</span><a href="index.html">GuestProtocolAdapter</a><span class="delimiter">/</span><span class="current">GuestProtocolAdapter</span></div>
<div class="cover ">
<h1 class="cover"><span>Guest</span><wbr><span>Protocol</span><wbr><span><span>Adapter</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-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">hostVersion<span class="token operator">: </span><a href="../../../redwood-protocol/app.cash.redwood.protocol/-redwood-version/index.html">RedwoodVersion</a></span></span><span class="token punctuation">)</span></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="token punctuation">)</span></div></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,24 +62,24 @@
<div class="breadcrumbs"><a href="../../index.html">redwood-protocol-guest</a><span class="delimiter">/</span><a href="../index.html">app.cash.redwood.protocol.guest</a><span class="delimiter">/</span><span class="current">GuestProtocolAdapter</span></div>
<div class="cover ">
<h1 class="cover"><span>Guest</span><wbr><span>Protocol</span><wbr><span><span>Adapter</span></span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">GuestProtocolAdapter</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">hostVersion<span class="token operator">: </span><a href="../../../redwood-protocol/app.cash.redwood.protocol/-redwood-version/index.html">RedwoodVersion</a></span></span><span class="token punctuation">)</span> : <a href="../../../redwood-protocol/app.cash.redwood.protocol/-event-sink/index.html">EventSink</a></div><p class="paragraph">Connects the guest (composition) of a Redwood UI to the host of that UI.</p><p class="paragraph">Guest widgets use this to send view tree updates to the host, and to receive user events from the host.</p><p class="paragraph">This interface is for generated code use only.</p></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="index.html">GuestProtocolAdapter</a> : <a href="../../../redwood-protocol/app.cash.redwood.protocol/-event-sink/index.html">EventSink</a></div><p class="paragraph">Connects the guest (composition) of a Redwood UI to the host of that UI.</p><p class="paragraph">Guest widgets use this to send view tree updates to the host, and to receive user events from the host.</p><p class="paragraph">This interface is for generated code use only.</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>
<div class="tabs-section-body">
<div data-togglable="CONSTRUCTOR">
<h2 class="">Constructors</h2>
<div class="table"><a data-name="902388619%2FConstructors%2F1634211329" anchor-label="GuestProtocolAdapter" id="902388619%2FConstructors%2F1634211329" data-filterable-set=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"></a>
<div class="table"><a data-name="-1789880323%2FConstructors%2F1634211329" anchor-label="GuestProtocolAdapter" id="-1789880323%2FConstructors%2F1634211329" data-filterable-set=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="CONSTRUCTOR" data-filterable-current=":redwood-protocol-guest:dokkaHtmlPartial/commonMain" data-filterable-set=":redwood-protocol-guest:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-guest-protocol-adapter.html"><span>Guest</span><wbr><span>Protocol</span><wbr><span><span>Adapter</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="902388619%2FConstructors%2F1634211329"></span>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1789880323%2FConstructors%2F1634211329"></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-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">hostVersion<span class="token operator">: </span><a href="../../../redwood-protocol/app.cash.redwood.protocol/-redwood-version/index.html">RedwoodVersion</a></span></span><span class="token punctuation">)</span></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">constructor</span><span class="token punctuation">(</span><span class="token punctuation">)</span></div></div></div>
</div>
</div>
</div>
Expand Down Expand Up @@ -133,21 +133,6 @@ <h2 class="">Properties</h2>
</div>
</div>
</div>
<a data-name="733897828%2FProperties%2F1634211329" anchor-label="synthesizeSubtreeRemoval" id="733897828%2FProperties%2F1634211329" data-filterable-set=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":redwood-protocol-guest:dokkaHtmlPartial/commonMain" data-filterable-set=":redwood-protocol-guest:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="synthesize-subtree-removal.html"><span>synthesize</span><wbr><span>Subtree</span><wbr><span><span>Removal</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="733897828%2FProperties%2F1634211329"></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-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">val </span><a href="synthesize-subtree-removal.html">synthesizeSubtreeRemoval</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">Host versions prior to 0.10.0 contained a bug where they did not recursively remove widgets from the protocol map which leaked any child views of a removed node. We can work around this on the guest side by synthesizing removes for every node in the subtree.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1543171241%2FProperties%2F1634211329" anchor-label="widgetSystem" id="1543171241%2FProperties%2F1634211329" data-filterable-set=":redwood-protocol-guest:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":redwood-protocol-guest:dokkaHtmlPartial/commonMain" data-filterable-set=":redwood-protocol-guest:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h2 class="">Types</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-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="-guest-protocol-adapter/index.html">GuestProtocolAdapter</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">hostVersion<span class="token operator">: </span><a href="../../redwood-protocol/app.cash.redwood.protocol/-redwood-version/index.html">RedwoodVersion</a></span></span><span class="token punctuation">)</span> : <a href="../../redwood-protocol/app.cash.redwood.protocol/-event-sink/index.html">EventSink</a></div><div class="brief "><p class="paragraph">Connects the guest (composition) of a Redwood UI to the host of that UI.</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-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">class </span><a href="-guest-protocol-adapter/index.html">GuestProtocolAdapter</a> : <a href="../../redwood-protocol/app.cash.redwood.protocol/-event-sink/index.html">EventSink</a></div><div class="brief "><p class="paragraph">Connects the guest (composition) of a Redwood UI to the host of that UI.</p></div></div></div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html class="no-js">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>synthesizeSubtreeRemoval</title>
<title>frameClock</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"> <script>var pathToRoot = "../../../";</script>
<script>document.documentElement.classList.replace("no-js","js");</script>
<script>const storage = localStorage.getItem("dokka-dark-mode")
Expand Down Expand Up @@ -45,7 +45,7 @@
</div>
</div>
<div class="filter-section" id="filter-section">
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":redwood-protocol-guest:dokkaHtmlPartial/commonMain">common</button>
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain">common</button>
</div>
</div>
<div class="navigation-controls">
Expand All @@ -58,12 +58,12 @@
<div class="sidebar--inner" id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" data-page-type="member" id="content" pageids="redwood-protocol-guest::app.cash.redwood.protocol.guest/GuestProtocolAdapter/synthesizeSubtreeRemoval/#/PointingToDeclaration//1634211329">
<div class="breadcrumbs"><a href="../../index.html">redwood-protocol-guest</a><span class="delimiter">/</span><a href="../index.html">app.cash.redwood.protocol.guest</a><span class="delimiter">/</span><a href="index.html">GuestProtocolAdapter</a><span class="delimiter">/</span><span class="current">synthesizeSubtreeRemoval</span></div>
<div class="main-content" data-page-type="member" id="content" pageids="redwood-treehouse-guest::app.cash.redwood.treehouse/StandardAppLifecycle/frameClock/#/PointingToDeclaration//979857319">
<div class="breadcrumbs"><a href="../../index.html">redwood-treehouse-guest</a><span class="delimiter">/</span><a href="../index.html">app.cash.redwood.treehouse</a><span class="delimiter">/</span><a href="index.html">StandardAppLifecycle</a><span class="delimiter">/</span><span class="current">frameClock</span></div>
<div class="cover ">
<h1 class="cover"><span>synthesize</span><wbr><span>Subtree</span><wbr><span><span>Removal</span></span></h1>
<h1 class="cover"><span>frame</span><wbr><span><span>Clock</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-protocol-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">val </span><a href="synthesize-subtree-removal.html">synthesizeSubtreeRemoval</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><p class="paragraph">Host versions prior to 0.10.0 contained a bug where they did not recursively remove widgets from the protocol map which leaked any child views of a removed node. We can work around this on the guest side by synthesizing removes for every node in the subtree.</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-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">val </span><a href="frame-clock.html">frameClock</a><span class="token operator">: </span><span data-unresolved-link="androidx.compose.runtime/MonotonicFrameClock///PointingToDeclaration/">MonotonicFrameClock</span></div></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 @@ -88,7 +88,22 @@ <h2 class="">Constructors</h2>
</div>
<div data-togglable="PROPERTY">
<h2 class="">Properties</h2>
<div class="table"><a data-name="-1628432265%2FProperties%2F979857319" anchor-label="guestProtocolVersion" id="-1628432265%2FProperties%2F979857319" data-filterable-set=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain"></a>
<div class="table"><a data-name="-914128738%2FProperties%2F979857319" anchor-label="frameClock" id="-914128738%2FProperties%2F979857319" data-filterable-set=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain" data-filterable-set=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="frame-clock.html"><span>frame</span><wbr><span><span>Clock</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-914128738%2FProperties%2F979857319"></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-guest:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">val </span><a href="frame-clock.html">frameClock</a><span class="token operator">: </span><span data-unresolved-link="androidx.compose.runtime/MonotonicFrameClock///PointingToDeclaration/">MonotonicFrameClock</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1628432265%2FProperties%2F979857319" anchor-label="guestProtocolVersion" id="-1628432265%2FProperties%2F979857319" data-filterable-set=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain" data-filterable-set=":redwood-treehouse-guest:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
Expand Down
Loading

0 comments on commit e6280b7

Please sign in to comment.