Files
uTools-Manuals/docs/javascript/Reference/Global_Objects/ParallelArray.html

17 lines
1.1 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<article id="wikiArticle">
<div>
<div><div class="blockIndicator obsolete obsoleteHeader"><p><strong><span class="icon-only-inline" title="This is an obsolete API and is no longer guaranteed to work."><i class="icon-trash"> </i></span> 已废弃</strong><br/>This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.</p></div></div>
<div>
<div class="note">
<p><strong>Note:</strong> This object was implemented in Firefox 17 and has been removed from <span title="(Firefox 29 / Thunderbird 29 / SeaMonkey 2.26)">Gecko 29</span> in favor of ParallelJS (PJS) currently available in the Nightly channel (<a class="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=944074" rel="noopener" title="FIXED: PJS: rm ParallelArray">bug 944074</a>).</p>
</div>
</div>
</div>
<h2 id="概述">概述</h2>
<p>ParallelArray的目标是在web应用程序中让数据并行.</p>
<h2 id="语法">语法</h2>
<pre class="syntaxbox">new ParallelArray()
new ParallelArray([element0, element1, ...])
new ParallelArray(arrayLength, elementalFunction)</pre>
<p> </p>
</article>