Skip to content

Commit e141ba9

Browse files
committed
Rebuild docs
1 parent ac7e0d3 commit e141ba9

36 files changed

+346
-460
lines changed

docs/Enums.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="Enumerations Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -309,7 +309,7 @@ <h4>Declaration</h4>
309309
</section>
310310
</section>
311311
<section id="footer">
312-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
312+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
313313
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
314314
</section>
315315
</article>

docs/Enums/NoError.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="NoError Enumeration Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="../index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="../index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="../img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -274,7 +274,7 @@ <h4>Declaration</h4>
274274
</section>
275275
</section>
276276
<section id="footer">
277-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
277+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
278278
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
279279
</section>
280280
</article>

docs/Enums/PromiseCallbackError.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="PromiseCallbackError Enumeration Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="../index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="../index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="../img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -160,7 +160,7 @@ <h4>Declaration</h4>
160160
</section>
161161
</section>
162162
<section id="footer">
163-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
163+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
164164
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
165165
</section>
166166
</article>

docs/Enums/PromiseContext.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="PromiseContext Enumeration Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="../index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="../index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="../img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -597,7 +597,7 @@ <h4>Parameters</h4>
597597
</section>
598598
</section>
599599
<section id="footer">
600-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
600+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
601601
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
602602
</section>
603603
</article>

docs/Enums/PromiseResult.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="PromiseResult Enumeration Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="../index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="../index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="../img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -700,7 +700,7 @@ <h4>Declaration</h4>
700700
</section>
701701
</section>
702702
<section id="footer">
703-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
703+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
704704
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
705705
</section>
706706
</article>

docs/Enums/PromiseTimeoutError.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="PromiseTimeoutError Enumeration Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="../index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="../index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="../img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -395,7 +395,7 @@ <h4>Declaration</h4>
395395
</section>
396396
</section>
397397
<section id="footer">
398-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
398+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
399399
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
400400
</section>
401401
</article>

docs/Functions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="Functions Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -927,7 +927,7 @@ <h4>Return Value</h4>
927927
</section>
928928
</section>
929929
<section id="footer">
930-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
930+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
931931
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
932932
</section>
933933
</article>

docs/Structs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="Structures Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -347,7 +347,7 @@ <h4>Declaration</h4>
347347
</section>
348348
</section>
349349
<section id="footer">
350-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
350+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
351351
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
352352
</section>
353353
</article>

docs/Structs/DelayedPromise.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="DelayedPromise Structure Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="../index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="../index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="../img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -304,7 +304,7 @@ <h4>Declaration</h4>
304304
</section>
305305
</section>
306306
<section id="footer">
307-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
307+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
308308
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
309309
</section>
310310
</article>

docs/Structs/Promise.html

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<a title="Promise Structure Reference"></a>
1515
<header>
1616
<div class="content-wrapper">
17-
<p><a href="../index.html">Tomorrowland 1.3.0 Docs</a> (100% documented)</p>
17+
<p><a href="../index.html">Tomorrowland 1.4.0 Docs</a> (100% documented)</p>
1818
<p class="header-right"><a href="https://github.com/lilyball/Tomorrowland"><img src="../img/gh.png"/>View on GitHub</a></p>
1919
</div>
2020
</header>
@@ -1681,7 +1681,8 @@ <h4>Return Value</h4>
16811681

16821682
<p>The returned <code>Promise</code> will always resolve with the same value that its receiver does, but
16831683
it won&rsquo;t affect the timing of any of the receiver&rsquo;s other observers and it won&rsquo;t affect
1684-
automatic cancellation propagation behavior.</p>
1684+
automatic cancellation propagation behavior. Requesting cancellation of the returned
1685+
<code>Promise</code> does nothing.</p>
16851686

16861687
<p><code>tap().always(on:token:_:)</code> behaves the same as <code><a href="../Structs/Promise.html#/s:12Tomorrowland7PromiseV3tap2on5token_ACyxq_GAA0B7ContextO_AA0B17InvalidationTokenVSgyAA0B6ResultOyxq_GctF">tap(on:token:_:)</a></code> except it returns a new
16871688
<code>Promise</code> whereas <code><a href="../Structs/Promise.html#/s:12Tomorrowland7PromiseV3tap2on5token_ACyxq_GAA0B7ContextO_AA0B17InvalidationTokenVSgyAA0B6ResultOyxq_GctF">tap(on:token:_:)</a></code> returns the receiver and can be inserted into any
@@ -1731,6 +1732,16 @@ <h4>Return Value</h4>
17311732
<div class="pointer"></div>
17321733
<div class="abstract">
17331734
<p>Registers a callback that will be invoked when the promise is cancelled.</p>
1735+
<div class="aside aside-note">
1736+
<p class="aside-title">Note</p>
1737+
<p>Like <code>tap</code>, <code>onCancel</code> does not prevent automatic cancellation propagation if the
1738+
parent has multiple children and all other children have requested cancellation. Unlike
1739+
<code>tap</code>, requesting cancellation of <code>onCancel</code> will cancel the parent if the parent has no
1740+
other children. <code>onCancel</code>&lsquo;s behavior differs from the other standard obsrevers here as
1741+
attaching an <code>onCancel</code> observer to a promise that would otherwise be cancelled should not
1742+
prevent the cancellation.</p>
1743+
1744+
</div>
17341745

17351746
</div>
17361747
<div class="declaration">
@@ -1824,6 +1835,13 @@ <h4>Return Value</h4>
18241835
<p>The intent of this method is to allow you to deduplicate requests for a long-lived resource
18251836
(such as a network load) without preventing cancellation of the load in the event that no
18261837
children care about it anymore.</p>
1838+
<div class="aside aside-important">
1839+
<p class="aside-title">Important</p>
1840+
<p>Do not give the returned promise directly to callers. Instead always hand back
1841+
a child, such as returned from <code>makeChild</code>. Otherwise automatic cancellation propagation
1842+
won&rsquo;t work as expected.</p>
1843+
1844+
</div>
18271845

18281846
</div>
18291847
<div class="declaration">
@@ -1887,6 +1905,42 @@ <h4>Return Value</h4>
18871905
</section>
18881906
</div>
18891907
</li>
1908+
<li class="item">
1909+
<div>
1910+
<code>
1911+
<a name="/s:12Tomorrowland7PromiseV9makeChildACyxq_GyF"></a>
1912+
<a name="//apple_ref/swift/Method/makeChild()" class="dashAnchor"></a>
1913+
<a class="token" href="#/s:12Tomorrowland7PromiseV9makeChildACyxq_GyF">makeChild()</a>
1914+
</code>
1915+
</div>
1916+
<div class="height-container">
1917+
<div class="pointer-container"></div>
1918+
<section class="section">
1919+
<div class="pointer"></div>
1920+
<div class="abstract">
1921+
<p>Returns a promise that adopts the same value as the receiver.</p>
1922+
1923+
<p>This method is used in order to hand back child promises to callers so that they cannot
1924+
directly request cancellation of a shared parent promise. This is most useful in conjunction
1925+
with <code><a href="../Structs/Promise.html#/s:12Tomorrowland7PromiseV23propagatingCancellation2on15cancelRequestedACyxq_GAA0B7ContextO_yAGctF">propagatingCancellation(on:cancelRequested:)</a></code> but could also be used any time a shared
1926+
promise is given to multiple callers.</p>
1927+
1928+
</div>
1929+
<div class="declaration">
1930+
<h4>Declaration</h4>
1931+
<div class="language">
1932+
<p class="aside-title">Swift</p>
1933+
<pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">func</span> <span class="nf">makeChild</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="kt">Promise</span><span class="o">&lt;</span><span class="kt">Value</span><span class="p">,</span> <span class="kt">Error</span><span class="o">&gt;</span></code></pre>
1934+
1935+
</div>
1936+
</div>
1937+
<div>
1938+
<h4>Return Value</h4>
1939+
<p>A new promise that will resolve to the same value as the receiver.</p>
1940+
</div>
1941+
</section>
1942+
</div>
1943+
</li>
18901944
<li class="item">
18911945
<div>
18921946
<code>
@@ -3390,7 +3444,7 @@ <h4>Return Value</h4>
33903444
</section>
33913445
</section>
33923446
<section id="footer">
3393-
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-05-23)</p>
3447+
<p>&copy; 2020 <a class="link" href="https://github.com/lilyball/Tomorrowland" target="_blank" rel="external">Lily Ballard</a>. All rights reserved. (Last updated: 2020-07-26)</p>
33943448
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
33953449
</section>
33963450
</article>

0 commit comments

Comments
 (0)