-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
8,911 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
<!doctype html> | ||
<html class="default no-js"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>AsyncPoolOpts | @planjs/utils</title> | ||
<meta name="description" content="Documentation for @planjs/utils"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="../assets/css/main.css"> | ||
</head> | ||
<body> | ||
<header> | ||
<div class="tsd-page-toolbar"> | ||
<div class="container"> | ||
<div class="table-wrap"> | ||
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> | ||
<div class="field"> | ||
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> | ||
<input id="tsd-search-field" type="text" /> | ||
</div> | ||
<ul class="results"> | ||
<li class="state loading">Preparing search index...</li> | ||
<li class="state failure">The search index is not available</li> | ||
</ul> | ||
<a href="../index.html" class="title">@planjs/utils</a> | ||
</div> | ||
<div class="table-cell" id="tsd-widgets"> | ||
<div id="tsd-filter"> | ||
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> | ||
<div class="tsd-filter-group"> | ||
<div class="tsd-select" id="tsd-filter-visibility"> | ||
<span class="tsd-select-label">All</span> | ||
<ul class="tsd-select-list"> | ||
<li data-value="public">Public</li> | ||
<li data-value="protected">Public/Protected</li> | ||
<li data-value="private" class="selected">All</li> | ||
</ul> | ||
</div> | ||
<input type="checkbox" id="tsd-filter-inherited" checked /> | ||
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> | ||
<input type="checkbox" id="tsd-filter-externals" checked /> | ||
<label class="tsd-widget" for="tsd-filter-externals">Externals</label> | ||
<input type="checkbox" id="tsd-filter-only-exported" /> | ||
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label> | ||
</div> | ||
</div> | ||
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="tsd-page-title"> | ||
<div class="container"> | ||
<ul class="tsd-breadcrumb"> | ||
<li> | ||
<a href="../globals.html">Globals</a> | ||
</li> | ||
<li> | ||
<a href="asyncpoolopts.html">AsyncPoolOpts</a> | ||
</li> | ||
</ul> | ||
<h1>Interface AsyncPoolOpts</h1> | ||
</div> | ||
</div> | ||
</header> | ||
<div class="container container-main"> | ||
<div class="row"> | ||
<div class="col-8 col-content"> | ||
<section class="tsd-panel tsd-hierarchy"> | ||
<h3>Hierarchy</h3> | ||
<ul class="tsd-hierarchy"> | ||
<li> | ||
<span class="target">AsyncPoolOpts</span> | ||
</li> | ||
</ul> | ||
</section> | ||
<section class="tsd-panel-group tsd-index-group"> | ||
<h2>Index</h2> | ||
<section class="tsd-panel tsd-index-panel"> | ||
<div class="tsd-index-content"> | ||
<section class="tsd-index-section "> | ||
<h3>Properties</h3> | ||
<ul class="tsd-index-list"> | ||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="asyncpoolopts.html#maxconcurrency" class="tsd-kind-icon">max<wbr>Concurrency</a></li> | ||
</ul> | ||
</section> | ||
</div> | ||
</section> | ||
</section> | ||
<section class="tsd-panel-group tsd-member-group "> | ||
<h2>Properties</h2> | ||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"> | ||
<a name="maxconcurrency" class="tsd-anchor"></a> | ||
<h3>max<wbr>Concurrency</h3> | ||
<div class="tsd-signature tsd-kind-icon">max<wbr>Concurrency<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div> | ||
<aside class="tsd-sources"> | ||
<ul> | ||
<li>Defined in <a href="https://github.com/planjs/utils/blob/9dfe1db/src/promise/async-pool.ts#L7">src/promise/async-pool.ts:7</a></li> | ||
</ul> | ||
</aside> | ||
<div class="tsd-comment tsd-typography"> | ||
<div class="lead"> | ||
<p>最大同时执行异步任务</p> | ||
</div> | ||
</div> | ||
</section> | ||
</section> | ||
</div> | ||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight"> | ||
<nav class="tsd-navigation primary"> | ||
<ul> | ||
<li class="globals "> | ||
<a href="../globals.html"><em>Globals</em></a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<nav class="tsd-navigation secondary menu-sticky"> | ||
<ul class="before-current"> | ||
</ul> | ||
<ul class="current"> | ||
<li class="current tsd-kind-interface"> | ||
<a href="asyncpoolopts.html" class="tsd-kind-icon">Async<wbr>Pool<wbr>Opts</a> | ||
<ul> | ||
<li class=" tsd-kind-property tsd-parent-kind-interface"> | ||
<a href="asyncpoolopts.html#maxconcurrency" class="tsd-kind-icon">max<wbr>Concurrency</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<ul class="after-current"> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
<footer class="with-border-bottom"> | ||
<div class="container"> | ||
<h2>Legend</h2> | ||
<div class="tsd-legend-group"> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li> | ||
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li> | ||
</ul> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li> | ||
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li> | ||
</ul> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li> | ||
</ul> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</footer> | ||
<div class="container tsd-generator"> | ||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p> | ||
</div> | ||
<div class="overlay"></div> | ||
<script src="../assets/js/main.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,188 @@ | ||
<!doctype html> | ||
<html class="default no-js"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>BaseRetryOpts | @planjs/utils</title> | ||
<meta name="description" content="Documentation for @planjs/utils"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link rel="stylesheet" href="../assets/css/main.css"> | ||
</head> | ||
<body> | ||
<header> | ||
<div class="tsd-page-toolbar"> | ||
<div class="container"> | ||
<div class="table-wrap"> | ||
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> | ||
<div class="field"> | ||
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> | ||
<input id="tsd-search-field" type="text" /> | ||
</div> | ||
<ul class="results"> | ||
<li class="state loading">Preparing search index...</li> | ||
<li class="state failure">The search index is not available</li> | ||
</ul> | ||
<a href="../index.html" class="title">@planjs/utils</a> | ||
</div> | ||
<div class="table-cell" id="tsd-widgets"> | ||
<div id="tsd-filter"> | ||
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> | ||
<div class="tsd-filter-group"> | ||
<div class="tsd-select" id="tsd-filter-visibility"> | ||
<span class="tsd-select-label">All</span> | ||
<ul class="tsd-select-list"> | ||
<li data-value="public">Public</li> | ||
<li data-value="protected">Public/Protected</li> | ||
<li data-value="private" class="selected">All</li> | ||
</ul> | ||
</div> | ||
<input type="checkbox" id="tsd-filter-inherited" checked /> | ||
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> | ||
<input type="checkbox" id="tsd-filter-externals" checked /> | ||
<label class="tsd-widget" for="tsd-filter-externals">Externals</label> | ||
<input type="checkbox" id="tsd-filter-only-exported" /> | ||
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label> | ||
</div> | ||
</div> | ||
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="tsd-page-title"> | ||
<div class="container"> | ||
<ul class="tsd-breadcrumb"> | ||
<li> | ||
<a href="../globals.html">Globals</a> | ||
</li> | ||
<li> | ||
<a href="baseretryopts.html">BaseRetryOpts</a> | ||
</li> | ||
</ul> | ||
<h1>Interface BaseRetryOpts</h1> | ||
</div> | ||
</div> | ||
</header> | ||
<div class="container container-main"> | ||
<div class="row"> | ||
<div class="col-8 col-content"> | ||
<section class="tsd-panel tsd-hierarchy"> | ||
<h3>Hierarchy</h3> | ||
<ul class="tsd-hierarchy"> | ||
<li> | ||
<span class="target">BaseRetryOpts</span> | ||
<ul class="tsd-hierarchy"> | ||
<li> | ||
<a href="retryopts.html" class="tsd-signature-type">RetryOpts</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</section> | ||
<section class="tsd-panel-group tsd-index-group"> | ||
<h2>Index</h2> | ||
<section class="tsd-panel tsd-index-panel"> | ||
<div class="tsd-index-content"> | ||
<section class="tsd-index-section "> | ||
<h3>Properties</h3> | ||
<ul class="tsd-index-list"> | ||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="baseretryopts.html#delayms" class="tsd-kind-icon">delay<wbr>Ms</a></li> | ||
<li class="tsd-kind-property tsd-parent-kind-interface"><a href="baseretryopts.html#maxattempts" class="tsd-kind-icon">max<wbr>Attempts</a></li> | ||
</ul> | ||
</section> | ||
</div> | ||
</section> | ||
</section> | ||
<section class="tsd-panel-group tsd-member-group "> | ||
<h2>Properties</h2> | ||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"> | ||
<a name="delayms" class="tsd-anchor"></a> | ||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> delay<wbr>Ms</h3> | ||
<div class="tsd-signature tsd-kind-icon">delay<wbr>Ms<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div> | ||
<aside class="tsd-sources"> | ||
<ul> | ||
<li>Defined in <a href="https://github.com/planjs/utils/blob/9dfe1db/src/promise/interfaces.ts#L12">src/promise/interfaces.ts:12</a></li> | ||
</ul> | ||
</aside> | ||
<div class="tsd-comment tsd-typography"> | ||
<div class="lead"> | ||
<p>重试间隔</p> | ||
</div> | ||
</div> | ||
</section> | ||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"> | ||
<a name="maxattempts" class="tsd-anchor"></a> | ||
<h3><span class="tsd-flag ts-flagOptional">Optional</span> max<wbr>Attempts</h3> | ||
<div class="tsd-signature tsd-kind-icon">max<wbr>Attempts<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div> | ||
<aside class="tsd-sources"> | ||
<ul> | ||
<li>Defined in <a href="https://github.com/planjs/utils/blob/9dfe1db/src/promise/interfaces.ts#L8">src/promise/interfaces.ts:8</a></li> | ||
</ul> | ||
</aside> | ||
<div class="tsd-comment tsd-typography"> | ||
<div class="lead"> | ||
<p>最大等待次数 | ||
不设置则一直运行</p> | ||
</div> | ||
</div> | ||
</section> | ||
</section> | ||
</div> | ||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight"> | ||
<nav class="tsd-navigation primary"> | ||
<ul> | ||
<li class="globals "> | ||
<a href="../globals.html"><em>Globals</em></a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<nav class="tsd-navigation secondary menu-sticky"> | ||
<ul class="before-current"> | ||
</ul> | ||
<ul class="current"> | ||
<li class="current tsd-kind-interface"> | ||
<a href="baseretryopts.html" class="tsd-kind-icon">Base<wbr>Retry<wbr>Opts</a> | ||
<ul> | ||
<li class=" tsd-kind-property tsd-parent-kind-interface"> | ||
<a href="baseretryopts.html#delayms" class="tsd-kind-icon">delay<wbr>Ms</a> | ||
</li> | ||
<li class=" tsd-kind-property tsd-parent-kind-interface"> | ||
<a href="baseretryopts.html#maxattempts" class="tsd-kind-icon">max<wbr>Attempts</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<ul class="after-current"> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
</div> | ||
<footer class="with-border-bottom"> | ||
<div class="container"> | ||
<h2>Legend</h2> | ||
<div class="tsd-legend-group"> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li> | ||
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li> | ||
</ul> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li> | ||
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li> | ||
</ul> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li> | ||
</ul> | ||
<ul class="tsd-legend"> | ||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</footer> | ||
<div class="container tsd-generator"> | ||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p> | ||
</div> | ||
<div class="overlay"></div> | ||
<script src="../assets/js/main.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.