Skip to content

Commit 7fe0cf0

Browse files
committed
Update website build
1 parent 830ff6f commit 7fe0cf0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+684
-893
lines changed

async/changelog.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ <h3 class="off-canvas-menu__section-header">Network Components</h3>
129129
HTTP
130130

131131
<span class="off-canvas-menu__version">
132-
v1.6.0
132+
v1.7.0
133133
</span>
134134
</a>
135135
</li>
@@ -537,12 +537,12 @@ <h3 class="component-info__subtitle">Contributors</h3>
537537
<ul class="component-info__contributors">
538538
<li>
539539
<a href="https://github.com/clue">
540-
<img src="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=80 2x" alt="clue" title="clue (45 contributions)">
540+
<img src="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=80 2x" alt="clue" title="clue (47 contributions)">
541541
</a>
542542
</li>
543543
<li>
544544
<a href="https://github.com/WyriHaximus">
545-
<img src="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=80 2x" alt="WyriHaximus" title="WyriHaximus (30 contributions)">
545+
<img src="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=80 2x" alt="WyriHaximus" title="WyriHaximus (31 contributions)">
546546
</a>
547547
</li>
548548
<li>
@@ -579,7 +579,7 @@ <h3 class="component-info__subtitle">Activity</h3>
579579
<mask id="reactphp-async-participation-sparkline" x="0" y="0" width="320" height="40" >
580580
<polyline
581581
transform="translate(0, 40) scale(1,-1)"
582-
points="0,1 6,1 12,1 18,1 24,1 30,1 36,1 42,1 48,1 54,1 60,1 66,1 72,4 78,1 84,22 90,1 96,4 102,1 108,15 114,2 120,1 126,1 132,2 138,4 144,1 150,2 156,1 162,1 168,3 174,1 180,7 186,6 192,1 198,4 204,1 210,2 216,2 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,3 282,4 288,2 294,3 300,3 306,3"
582+
points="0,1 6,1 12,1 18,1 24,1 30,3 36,2 42,16 48,7 54,1 60,4 66,7 72,10 78,1 84,1 90,2 96,3 102,2 108,2 114,1 120,1 126,2 132,2 138,1 144,8 150,5 156,1 162,4 168,1 174,3 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,4 246,4 252,2 258,2 264,5 270,2 276,1 282,1 288,1 294,1 300,2 306,2"
583583
fill="transparent"
584584
stroke="#40a977"
585585
stroke-width="2"

async/index.html

+18-30
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
<meta http-equiv="x-ua-compatible" content="ie=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
77

8-
<title>Async:
9-
Async Utilities - ReactPHP</title>
8+
<title>Async: Async Utilities - ReactPHP</title>
109

1110
<meta name="description" content="Async utilities and fibers for ReactPHP.">
1211

@@ -129,7 +128,7 @@ <h3 class="off-canvas-menu__section-header">Network Components</h3>
129128
HTTP
130129

131130
<span class="off-canvas-menu__version">
132-
v1.6.0
131+
v1.7.0
133132
</span>
134133
</a>
135134
</li>
@@ -221,8 +220,8 @@ <h3 class="off-canvas-menu__section-header">Legacy Components</h3>
221220
<h1>Async</h1>
222221

223222

224-
<p><a href="https://github.com/reactphp/async/actions"><img src="https://github.com/reactphp/async/workflows/CI/badge.svg" alt="CI status" style="max-width:100%;"></a>
225-
<a href="https://packagist.org/packages/react/async" rel="nofollow"><img src="https://camo.githubusercontent.com/3b14cc18b50d4f3ce0a5fac671667b6f4035fb79695b4acda1eba22ed3841f62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656163742f6173796e633f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374" alt="installs on Packagist" data-canonical-src="https://img.shields.io/packagist/dt/react/async?color=blue&amp;label=installs%20on%20Packagist" style="max-width:100%;"></a></p>
223+
<p><a href="https://github.com/reactphp/async/actions"><img src="https://github.com/reactphp/async/workflows/CI/badge.svg" alt="CI status" style="max-width: 100%;"></a>
224+
<a href="https://packagist.org/packages/react/async" rel="nofollow"><img src="https://camo.githubusercontent.com/3b14cc18b50d4f3ce0a5fac671667b6f4035fb79695b4acda1eba22ed3841f62/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72656163742f6173796e633f636f6c6f723d626c7565266c6162656c3d696e7374616c6c732532306f6e2532305061636b6167697374" alt="installs on Packagist" data-canonical-src="https://img.shields.io/packagist/dt/react/async?color=blue&amp;label=installs%20on%20Packagist" style="max-width: 100%;"></a></p>
226225
<p>Async utilities and fibers for <a href="https://reactphp.org/" rel="nofollow">ReactPHP</a>.</p>
227226
<p>This library allows you to manage async control flow. It provides a number of
228227
combinators for <a href="../promise/">Promise</a>-based APIs.
@@ -250,8 +249,7 @@ <h1>Async</h1>
250249
<li><a href="#tests">Tests</a></li>
251250
<li><a href="#license">License</a></li>
252251
</ul>
253-
<h2>
254-
<a id="usage" class="anchor" href="#usage" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Usage</h2>
252+
<h2><a id="usage" class="anchor" aria-hidden="true" href="#usage"><span aria-hidden="true" class="octicon octicon-link"></span></a>Usage</h2>
255253
<p>This lightweight library consists only of a few simple functions.
256254
All functions reside under the <code>React\Async</code> namespace.</p>
257255
<p>The below examples refer to all functions with their fully-qualified names like this:</p>
@@ -264,8 +262,7 @@ <h2>
264262
<div class="highlight highlight-text-html-php"><pre><span class="pl-k">use</span> <span class="pl-v">React</span>\<span class="pl-v">Async</span>;
265263

266264
<span class="pl-en"><span class="pl-v">Async</span>\await</span>(…);</pre></div>
267-
<h3>
268-
<a id="async" class="anchor" href="#async" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>async()</h3>
265+
<h3><a id="async" class="anchor" aria-hidden="true" href="#async"><span aria-hidden="true" class="octicon octicon-link"></span></a>async()</h3>
269266
<p>The <code>async(callable $function): callable</code> function can be used to
270267
return an async function for a function that uses <a href="#await"><code>await()</code></a> internally.</p>
271268
<p>This function is specifically designed to complement the <a href="#await"><code>await()</code> function</a>.
@@ -406,8 +403,7 @@ <h3>
406403

407404
<span class="pl-s1"><span class="pl-c1">$</span>promise</span>-&gt;<span class="pl-en">cancel</span>();
408405
await(<span class="pl-s1"><span class="pl-c1">$</span>promise</span>);</pre></div>
409-
<h3>
410-
<a id="await" class="anchor" href="#await" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>await()</h3>
406+
<h3><a id="await" class="anchor" aria-hidden="true" href="#await"><span aria-hidden="true" class="octicon octicon-link"></span></a>await()</h3>
411407
<p>The <code>await(PromiseInterface $promise): mixed</code> function can be used to
412408
block waiting for the given <code>$promise</code> to be fulfilled.</p>
413409
<div class="highlight highlight-text-html-php"><pre><span class="pl-s1"><span class="pl-c1">$</span>result</span> = <span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Async</span>\await</span>(<span class="pl-s1"><span class="pl-c1">$</span>promise</span>);</pre></div>
@@ -444,8 +440,7 @@ <h3>
444440
<span class="pl-c">// promise rejected with $e</span>
445441
<span class="pl-k">echo</span> <span class="pl-s">'Error: '</span> . <span class="pl-s1"><span class="pl-c1">$</span>e</span>-&gt;<span class="pl-en">getMessage</span>();
446442
}</pre></div>
447-
<h3>
448-
<a id="coroutine" class="anchor" href="#coroutine" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>coroutine()</h3>
443+
<h3><a id="coroutine" class="anchor" aria-hidden="true" href="#coroutine"><span aria-hidden="true" class="octicon octicon-link"></span></a>coroutine()</h3>
449444
<p>The <code>coroutine(callable $function, mixed ...$args): PromiseInterface&lt;mixed&gt;</code> function can be used to
450445
execute a Generator-based coroutine to "await" promises.</p>
451446
<div class="highlight highlight-text-html-php"><pre><span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Async</span>\coroutine</span>(<span class="pl-k">function</span> () {
@@ -543,8 +538,7 @@ <h3>
543538
}, <span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">Exception</span></span> <span class="pl-s1"><span class="pl-c1">$</span>e</span>) {
544539
<span class="pl-k">echo</span> <span class="pl-s">'Error: '</span> . <span class="pl-s1"><span class="pl-c1">$</span>e</span>-&gt;<span class="pl-en">getMessage</span>() . <span class="pl-c1">PHP_EOL</span>;
545540
});</pre></div>
546-
<h3>
547-
<a id="parallel" class="anchor" href="#parallel" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>parallel()</h3>
541+
<h3><a id="parallel" class="anchor" aria-hidden="true" href="#parallel"><span aria-hidden="true" class="octicon octicon-link"></span></a>parallel()</h3>
548542
<p>The <code>parallel(iterable&lt;callable():PromiseInterface&lt;mixed,Exception&gt;&gt; $tasks): PromiseInterface&lt;array&lt;mixed&gt;,Exception&gt;</code> function can be used
549543
like this:</p>
550544
<div class="highlight highlight-text-html-php"><pre><span class="pl-ent">&lt;?php</span>
@@ -581,8 +575,7 @@ <h3>
581575
}, <span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">Exception</span></span> <span class="pl-s1"><span class="pl-c1">$</span>e</span>) {
582576
<span class="pl-k">echo</span> <span class="pl-s">'Error: '</span> . <span class="pl-s1"><span class="pl-c1">$</span>e</span>-&gt;<span class="pl-en">getMessage</span>() . <span class="pl-c1">PHP_EOL</span>;
583577
});</pre></div>
584-
<h3>
585-
<a id="series" class="anchor" href="#series" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>series()</h3>
578+
<h3><a id="series" class="anchor" aria-hidden="true" href="#series"><span aria-hidden="true" class="octicon octicon-link"></span></a>series()</h3>
586579
<p>The <code>series(iterable&lt;callable():PromiseInterface&lt;mixed,Exception&gt;&gt; $tasks): PromiseInterface&lt;array&lt;mixed&gt;,Exception&gt;</code> function can be used
587580
like this:</p>
588581
<div class="highlight highlight-text-html-php"><pre><span class="pl-ent">&lt;?php</span>
@@ -619,8 +612,7 @@ <h3>
619612
}, <span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">Exception</span></span> <span class="pl-s1"><span class="pl-c1">$</span>e</span>) {
620613
<span class="pl-k">echo</span> <span class="pl-s">'Error: '</span> . <span class="pl-s1"><span class="pl-c1">$</span>e</span>-&gt;<span class="pl-en">getMessage</span>() . <span class="pl-c1">PHP_EOL</span>;
621614
});</pre></div>
622-
<h3>
623-
<a id="waterfall" class="anchor" href="#waterfall" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>waterfall()</h3>
615+
<h3><a id="waterfall" class="anchor" aria-hidden="true" href="#waterfall"><span aria-hidden="true" class="octicon octicon-link"></span></a>waterfall()</h3>
624616
<p>The <code>waterfall(iterable&lt;callable(mixed=):PromiseInterface&lt;mixed,Exception&gt;&gt; $tasks): PromiseInterface&lt;mixed,Exception&gt;</code> function can be used
625617
like this:</p>
626618
<div class="highlight highlight-text-html-php"><pre><span class="pl-ent">&lt;?php</span>
@@ -645,13 +637,11 @@ <h3>
645637
}, <span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-smi">Exception</span></span> <span class="pl-s1"><span class="pl-c1">$</span>e</span>) {
646638
<span class="pl-k">echo</span> <span class="pl-s">'Error: '</span> . <span class="pl-s1"><span class="pl-c1">$</span>e</span>-&gt;<span class="pl-en">getMessage</span>() . <span class="pl-c1">PHP_EOL</span>;
647639
});</pre></div>
648-
<h2>
649-
<a id="todo" class="anchor" href="#todo" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Todo</h2>
640+
<h2><a id="todo" class="anchor" aria-hidden="true" href="#todo"><span aria-hidden="true" class="octicon octicon-link"></span></a>Todo</h2>
650641
<ul>
651642
<li>Implement queue()</li>
652643
</ul>
653-
<h2>
654-
<a id="install" class="anchor" href="#install" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Install</h2>
644+
<h2><a id="install" class="anchor" aria-hidden="true" href="#install"><span aria-hidden="true" class="octicon octicon-link"></span></a>Install</h2>
655645
<p>The recommended way to install this library is <a href="https://getcomposer.org/" rel="nofollow">through Composer</a>.
656646
<a href="https://getcomposer.org/doc/00-intro.md" rel="nofollow">New to Composer?</a></p>
657647
<p>This project follows <a href="https://semver.org/" rel="nofollow">SemVer</a>.
@@ -669,15 +659,13 @@ <h2>
669659
You may target multiple versions at the same time to support a wider range of
670660
PHP versions like this:</p>
671661
<div class="highlight highlight-source-shell"><pre>composer require <span class="pl-s"><span class="pl-pds">"</span>react/async:^4 || ^3 || ^2<span class="pl-pds">"</span></span></pre></div>
672-
<h2>
673-
<a id="tests" class="anchor" href="#tests" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Tests</h2>
662+
<h2><a id="tests" class="anchor" aria-hidden="true" href="#tests"><span aria-hidden="true" class="octicon octicon-link"></span></a>Tests</h2>
674663
<p>To run the test suite, you first need to clone this repo and then install all
675664
dependencies <a href="https://getcomposer.org/" rel="nofollow">through Composer</a>:</p>
676665
<div class="highlight highlight-source-shell"><pre>composer install</pre></div>
677666
<p>To run the test suite, go to the project root and run:</p>
678667
<div class="highlight highlight-source-shell"><pre>vendor/bin/phpunit</pre></div>
679-
<h2>
680-
<a id="license" class="anchor" href="#license" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>License</h2>
668+
<h2><a id="license" class="anchor" aria-hidden="true" href="#license"><span aria-hidden="true" class="octicon octicon-link"></span></a>License</h2>
681669
<p>MIT, see <a href="license.html">LICENSE file</a>.</p>
682670
<p>This project is heavily influenced by <a href="https://github.com/caolan/async">async.js</a>.</p>
683671
</main>
@@ -750,12 +738,12 @@ <h3 class="component-info__subtitle">Contributors</h3>
750738
<ul class="component-info__contributors">
751739
<li>
752740
<a href="https://github.com/clue">
753-
<img src="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=80 2x" alt="clue" title="clue (45 contributions)">
741+
<img src="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=80 2x" alt="clue" title="clue (47 contributions)">
754742
</a>
755743
</li>
756744
<li>
757745
<a href="https://github.com/WyriHaximus">
758-
<img src="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=80 2x" alt="WyriHaximus" title="WyriHaximus (30 contributions)">
746+
<img src="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=80 2x" alt="WyriHaximus" title="WyriHaximus (31 contributions)">
759747
</a>
760748
</li>
761749
<li>
@@ -792,7 +780,7 @@ <h3 class="component-info__subtitle">Activity</h3>
792780
<mask id="reactphp-async-participation-sparkline" x="0" y="0" width="320" height="40" >
793781
<polyline
794782
transform="translate(0, 40) scale(1,-1)"
795-
points="0,1 6,1 12,1 18,1 24,1 30,1 36,1 42,1 48,1 54,1 60,1 66,1 72,4 78,1 84,22 90,1 96,4 102,1 108,15 114,2 120,1 126,1 132,2 138,4 144,1 150,2 156,1 162,1 168,3 174,1 180,7 186,6 192,1 198,4 204,1 210,2 216,2 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,3 282,4 288,2 294,3 300,3 306,3"
783+
points="0,1 6,1 12,1 18,1 24,1 30,3 36,2 42,16 48,7 54,1 60,4 66,7 72,10 78,1 84,1 90,2 96,3 102,2 108,2 114,1 120,1 126,2 132,2 138,1 144,8 150,5 156,1 162,4 168,1 174,3 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,4 246,4 252,2 258,2 264,5 270,2 276,1 282,1 288,1 294,1 300,2 306,2"
796784
fill="transparent"
797785
stroke="#40a977"
798786
stroke-width="2"

async/license.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ <h3 class="off-canvas-menu__section-header">Network Components</h3>
128128
HTTP
129129

130130
<span class="off-canvas-menu__version">
131-
v1.6.0
131+
v1.7.0
132132
</span>
133133
</a>
134134
</li>
@@ -305,12 +305,12 @@ <h3 class="component-info__subtitle">Contributors</h3>
305305
<ul class="component-info__contributors">
306306
<li>
307307
<a href="https://github.com/clue">
308-
<img src="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=80 2x" alt="clue" title="clue (45 contributions)">
308+
<img src="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/776829?v=4&amp;s=80 2x" alt="clue" title="clue (47 contributions)">
309309
</a>
310310
</li>
311311
<li>
312312
<a href="https://github.com/WyriHaximus">
313-
<img src="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=80 2x" alt="WyriHaximus" title="WyriHaximus (30 contributions)">
313+
<img src="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=40" srcset="https://avatars.githubusercontent.com/u/147145?v=4&amp;s=80 2x" alt="WyriHaximus" title="WyriHaximus (31 contributions)">
314314
</a>
315315
</li>
316316
<li>
@@ -347,7 +347,7 @@ <h3 class="component-info__subtitle">Activity</h3>
347347
<mask id="reactphp-async-participation-sparkline" x="0" y="0" width="320" height="40" >
348348
<polyline
349349
transform="translate(0, 40) scale(1,-1)"
350-
points="0,1 6,1 12,1 18,1 24,1 30,1 36,1 42,1 48,1 54,1 60,1 66,1 72,4 78,1 84,22 90,1 96,4 102,1 108,15 114,2 120,1 126,1 132,2 138,4 144,1 150,2 156,1 162,1 168,3 174,1 180,7 186,6 192,1 198,4 204,1 210,2 216,2 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,3 282,4 288,2 294,3 300,3 306,3"
350+
points="0,1 6,1 12,1 18,1 24,1 30,3 36,2 42,16 48,7 54,1 60,4 66,7 72,10 78,1 84,1 90,2 96,3 102,2 108,2 114,1 120,1 126,2 132,2 138,1 144,8 150,5 156,1 162,4 168,1 174,3 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,4 246,4 252,2 258,2 264,5 270,2 276,1 282,1 288,1 294,1 300,2 306,2"
351351
fill="transparent"
352352
stroke="#40a977"
353353
stroke-width="2"

0 commit comments

Comments
 (0)