Skip to content

Commit 6bb1b93

Browse files
committed
Update website build
1 parent 2ec5797 commit 6bb1b93

37 files changed

Lines changed: 365 additions & 365 deletions

‎async/index.html‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ <h3 class="off-canvas-menu__section-header">Legacy Components</h3>
219219
<main class="main">
220220
<h1>Async</h1>
221221

222-
<div class="markdown-heading"><h1 class="heading-element">Async Utilities</h1><a id="async-utilities" class="anchor" aria-label="Permalink: Async Utilities" href="#async-utilities"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
222+
223223
<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>
224224
<a href="https://packagist.org/packages/react/async" rel="nofollow"><img src="https://camo.githubusercontent.com/1b2dc4e97cc6b51c4989c7c17b9d60daea7ae6a05d37f9a5e7283b52ded5ffc0/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>
225225
<p>Async utilities and fibers for <a href="https://reactphp.org/" rel="nofollow">ReactPHP</a>.</p>
@@ -250,7 +250,7 @@ <h1>Async</h1>
250250
<li><a href="#tests">Tests</a></li>
251251
<li><a href="#license">License</a></li>
252252
</ul>
253-
<div class="markdown-heading"><h2 class="heading-element">Usage</h2><a id="usage" class="anchor" aria-label="Permalink: Usage" href="#usage"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
253+
<h2><a id="usage" class="anchor" aria-label="Permalink: Usage" href="#usage"><span aria-hidden="true" class="octicon octicon-link"></span></a>Usage</h2>
254254
<p>This lightweight library consists only of a few simple functions.
255255
All functions reside under the <code>React\Async</code> namespace.</p>
256256
<p>The below examples refer to all functions with their fully-qualified names like this:</p>
@@ -263,7 +263,7 @@ <h1>Async</h1>
263263
<div class="highlight highlight-text-html-php"><pre><span class="pl-k">use</span> <span class="pl-v">React</span>\<span class="pl-smi">Async</span>;
264264

265265
<span class="pl-en"><span class="pl-v">Async</span>\await</span>(…);</pre></div>
266-
<div class="markdown-heading"><h3 class="heading-element">async()</h3><a id="async" class="anchor" aria-label="Permalink: async()" href="#async"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
266+
<h3><a id="async" class="anchor" aria-label="Permalink: async()" href="#async"><span aria-hidden="true" class="octicon octicon-link"></span></a>async()</h3>
267267
<p>The <code>async(callable():(PromiseInterface&lt;T&gt;|T) $function): (callable():PromiseInterface&lt;T&gt;)</code> function can be used to
268268
return an async function for a function that uses <a href="#await"><code>await()</code></a> internally.</p>
269269
<p>This function is specifically designed to complement the <a href="#await"><code>await()</code> function</a>.
@@ -403,7 +403,7 @@ <h1>Async</h1>
403403

404404
<span class="pl-s1"><span class="pl-c1">$</span>promise</span>-&gt;<span class="pl-en">cancel</span>();
405405
<span class="pl-en">await</span>(<span class="pl-s1"><span class="pl-c1">$</span>promise</span>);</pre></div>
406-
<div class="markdown-heading"><h3 class="heading-element">await()</h3><a id="await" class="anchor" aria-label="Permalink: await()" href="#await"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
406+
<h3><a id="await" class="anchor" aria-label="Permalink: await()" href="#await"><span aria-hidden="true" class="octicon octicon-link"></span></a>await()</h3>
407407
<p>The <code>await(PromiseInterface&lt;T&gt; $promise): T</code> function can be used to
408408
block waiting for the given <code>$promise</code> to be fulfilled.</p>
409409
<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>
@@ -440,7 +440,7 @@ <h1>Async</h1>
440440
<span class="pl-c">// promise rejected with $e</span>
441441
<span class="pl-k">echo</span> <span class="pl-s">'<span class="pl-s">Error: </span>'</span> . <span class="pl-s1"><span class="pl-c1">$</span>e</span>-&gt;<span class="pl-en">getMessage</span>();
442442
}</pre></div>
443-
<div class="markdown-heading"><h3 class="heading-element">coroutine()</h3><a id="coroutine" class="anchor" aria-label="Permalink: coroutine()" href="#coroutine"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
443+
<h3><a id="coroutine" class="anchor" aria-label="Permalink: coroutine()" href="#coroutine"><span aria-hidden="true" class="octicon octicon-link"></span></a>coroutine()</h3>
444444
<p>The <code>coroutine(callable(mixed ...$args):(\Generator|PromiseInterface&lt;T&gt;|T) $function, mixed ...$args): PromiseInterface&lt;T&gt;</code> function can be used to
445445
execute a Generator-based coroutine to "await" promises.</p>
446446
<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> () {
@@ -538,7 +538,7 @@ <h1>Async</h1>
538538
}, <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>) {
539539
<span class="pl-k">echo</span> <span class="pl-s">'<span class="pl-s">Error: </span>'</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>;
540540
});</pre></div>
541-
<div class="markdown-heading"><h3 class="heading-element">delay()</h3><a id="delay" class="anchor" aria-label="Permalink: delay()" href="#delay"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
541+
<h3><a id="delay" class="anchor" aria-label="Permalink: delay()" href="#delay"><span aria-hidden="true" class="octicon octicon-link"></span></a>delay()</h3>
542542
<p>The <code>delay(float $seconds): void</code> function can be used to
543543
delay program execution for duration given in <code>$seconds</code>.</p>
544544
<div class="highlight highlight-text-html-php"><pre><span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Async</span>\delay</span>(<span class="pl-s1"><span class="pl-c1">$</span>seconds</span>);</pre></div>
@@ -615,7 +615,7 @@ <h1>Async</h1>
615615
<span class="pl-c">// prints "a" at t=0.0s</span>
616616
<span class="pl-c">// rejects $promise at t=2.0</span>
617617
<span class="pl-c">// never prints "b"</span></pre></div>
618-
<div class="markdown-heading"><h3 class="heading-element">parallel()</h3><a id="parallel" class="anchor" aria-label="Permalink: parallel()" href="#parallel"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
618+
<h3><a id="parallel" class="anchor" aria-label="Permalink: parallel()" href="#parallel"><span aria-hidden="true" class="octicon octicon-link"></span></a>parallel()</h3>
619619
<p>The <code>parallel(iterable&lt;callable():PromiseInterface&lt;T&gt;&gt; $tasks): PromiseInterface&lt;array&lt;T&gt;&gt;</code> function can be used
620620
like this:</p>
621621
<div class="highlight highlight-text-html-php"><pre><span class="pl-ent">&lt;?php</span>
@@ -652,7 +652,7 @@ <h1>Async</h1>
652652
}, <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>) {
653653
<span class="pl-k">echo</span> <span class="pl-s">'<span class="pl-s">Error: </span>'</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>;
654654
});</pre></div>
655-
<div class="markdown-heading"><h3 class="heading-element">series()</h3><a id="series" class="anchor" aria-label="Permalink: series()" href="#series"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
655+
<h3><a id="series" class="anchor" aria-label="Permalink: series()" href="#series"><span aria-hidden="true" class="octicon octicon-link"></span></a>series()</h3>
656656
<p>The <code>series(iterable&lt;callable():PromiseInterface&lt;T&gt;&gt; $tasks): PromiseInterface&lt;array&lt;T&gt;&gt;</code> function can be used
657657
like this:</p>
658658
<div class="highlight highlight-text-html-php"><pre><span class="pl-ent">&lt;?php</span>
@@ -689,7 +689,7 @@ <h1>Async</h1>
689689
}, <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>) {
690690
<span class="pl-k">echo</span> <span class="pl-s">'<span class="pl-s">Error: </span>'</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>;
691691
});</pre></div>
692-
<div class="markdown-heading"><h3 class="heading-element">waterfall()</h3><a id="waterfall" class="anchor" aria-label="Permalink: waterfall()" href="#waterfall"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
692+
<h3><a id="waterfall" class="anchor" aria-label="Permalink: waterfall()" href="#waterfall"><span aria-hidden="true" class="octicon octicon-link"></span></a>waterfall()</h3>
693693
<p>The <code>waterfall(iterable&lt;callable(mixed=):PromiseInterface&lt;T&gt;&gt; $tasks): PromiseInterface&lt;T&gt;</code> function can be used
694694
like this:</p>
695695
<div class="highlight highlight-text-html-php"><pre><span class="pl-ent">&lt;?php</span>
@@ -714,11 +714,11 @@ <h1>Async</h1>
714714
}, <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>) {
715715
<span class="pl-k">echo</span> <span class="pl-s">'<span class="pl-s">Error: </span>'</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>;
716716
});</pre></div>
717-
<div class="markdown-heading"><h2 class="heading-element">Todo</h2><a id="todo" class="anchor" aria-label="Permalink: Todo" href="#todo"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
717+
<h2><a id="todo" class="anchor" aria-label="Permalink: Todo" href="#todo"><span aria-hidden="true" class="octicon octicon-link"></span></a>Todo</h2>
718718
<ul>
719719
<li>Implement queue()</li>
720720
</ul>
721-
<div class="markdown-heading"><h2 class="heading-element">Install</h2><a id="install" class="anchor" aria-label="Permalink: Install" href="#install"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
721+
<h2><a id="install" class="anchor" aria-label="Permalink: Install" href="#install"><span aria-hidden="true" class="octicon octicon-link"></span></a>Install</h2>
722722
<p>The recommended way to install this library is <a href="https://getcomposer.org/" rel="nofollow">through Composer</a>.
723723
<a href="https://getcomposer.org/doc/00-intro.md" rel="nofollow">New to Composer?</a></p>
724724
<p>This project follows <a href="https://semver.org/" rel="nofollow">SemVer</a>.
@@ -736,15 +736,15 @@ <h1>Async</h1>
736736
You may target multiple versions at the same time to support a wider range of
737737
PHP versions like this:</p>
738738
<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>
739-
<div class="markdown-heading"><h2 class="heading-element">Tests</h2><a id="tests" class="anchor" aria-label="Permalink: Tests" href="#tests"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
739+
<h2><a id="tests" class="anchor" aria-label="Permalink: Tests" href="#tests"><span aria-hidden="true" class="octicon octicon-link"></span></a>Tests</h2>
740740
<p>To run the test suite, you first need to clone this repo and then install all
741741
dependencies <a href="https://getcomposer.org/" rel="nofollow">through Composer</a>:</p>
742742
<div class="highlight highlight-source-shell"><pre>composer install</pre></div>
743743
<p>To run the test suite, go to the project root and run:</p>
744744
<div class="highlight highlight-source-shell"><pre>vendor/bin/phpunit</pre></div>
745745
<p>On top of this, we use PHPStan on max level to ensure type safety across the project:</p>
746746
<div class="highlight highlight-source-shell"><pre>vendor/bin/phpstan</pre></div>
747-
<div class="markdown-heading"><h2 class="heading-element">License</h2><a id="license" class="anchor" aria-label="Permalink: License" href="#license"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
747+
<h2><a id="license" class="anchor" aria-label="Permalink: License" href="#license"><span aria-hidden="true" class="octicon octicon-link"></span></a>License</h2>
748748
<p>MIT, see <a href="license.html">LICENSE file</a>.</p>
749749
<p>This project is heavily influenced by <a href="https://github.com/caolan/async">async.js</a>.</p>
750750
</main>

‎cache/changelog.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ <h3 class="component-info__subtitle">Activity</h3>
776776
<mask id="reactphp-cache-participation-sparkline" x="0" y="0" width="320" height="40" >
777777
<polyline
778778
transform="translate(0, 40) scale(1,-1)"
779-
points="0,1 6,1 12,1 18,1 24,1 30,3 36,1 42,1 48,1 54,1 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,1 156,1 162,1 168,1 174,1 180,1 186,1 192,2 198,1 204,2 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
779+
points="0,1 6,3 12,1 18,1 24,1 30,1 36,1 42,1 48,1 54,1 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,1 156,1 162,1 168,2 174,1 180,2 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
780780
fill="transparent"
781781
stroke="#40a977"
782782
stroke-width="2"

0 commit comments

Comments
 (0)