Skip to content

Commit

Permalink
deploy: 4623193
Browse files Browse the repository at this point in the history
  • Loading branch information
cadgerfeast committed May 27, 2024
1 parent 49efc31 commit d278822
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion 404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion guide/api/circuit.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<span class="line"><span style="color:#D73A49;">await</span><span style="color:#24292E;"> serviceCircuit.</span><span style="color:#6F42C1;">fn</span><span style="color:#24292E;">(serviceController.getUsers).</span><span style="color:#6F42C1;">execute</span><span style="color:#24292E;">();</span></span>
<span class="line"><span style="color:#6A737D;">// This binding sets the &quot;this&quot; reference to &quot;serviceController&quot;, resolving the above issue</span></span>
<span class="line"><span style="color:#D73A49;">await</span><span style="color:#24292E;"> serviceCircuit.</span><span style="color:#6F42C1;">fn</span><span style="color:#24292E;">(serviceController.getUsers.</span><span style="color:#6F42C1;">bind</span><span style="color:#24292E;">(serviceController)).</span><span style="color:#6F42C1;">execute</span><span style="color:#24292E;">();</span></span></code></pre></div><h2 id="api-reference" tabindex="-1">API Reference <a class="header-anchor" href="#api-reference" aria-label="Permalink to &quot;API Reference&quot;"></a></h2><h3 id="constructor" tabindex="-1">Constructor <a class="header-anchor" href="#constructor" aria-label="Permalink to &quot;Constructor&quot;"></a></h3><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Description</th><th style="text-align:left;">Default</th></tr></thead><tbody><tr><td style="text-align:left;"><code>[name]</code></td><td style="text-align:left;">The Circuit name. (For logging purposes)</td><td style="text-align:left;"><code>Circuit{Index}</code></td></tr><tr><td style="text-align:left;"><code>[func]</code></td><td style="text-align:left;">The Circuit function. (Can be changed with <code>fn()</code> method)</td><td style="text-align:left;"><code>undefined</code></td></tr><tr><td style="text-align:left;"><code>[options]</code></td><td style="text-align:left;">The options, <a href="#options">more on that below.</a></td><td style="text-align:left;"><code>undefined</code></td></tr></tbody></table><h4 id="options" tabindex="-1">Options <a class="header-anchor" href="#options" aria-label="Permalink to &quot;Options&quot;"></a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Description</th><th style="text-align:left;">Default</th></tr></thead><tbody><tr><td style="text-align:left;"><code>modules</code></td><td style="text-align:left;">An array of modules, applied to the circuit.</td><td style="text-align:left;"><code>[]</code></td></tr></tbody></table><h3 id="methods" tabindex="-1">Methods <a class="header-anchor" href="#methods" aria-label="Permalink to &quot;Methods&quot;"></a></h3><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Description</th></tr></thead><tbody><tr><td style="text-align:left;"><code>execute(...args: any[])</code></td><td style="text-align:left;">Executes the circuit.</td></tr></tbody></table><h3 id="events" tabindex="-1">Events <a class="header-anchor" href="#events" aria-label="Permalink to &quot;Events&quot;"></a></h3><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Description</th><th style="text-align:left;">Params</th></tr></thead><tbody><tr><td style="text-align:left;"><code>execute</code></td><td style="text-align:left;">Called when the module is executed.</td><td style="text-align:left;"><code>Mollitia.Circuit</code> <strong>circuit</strong>, <code>Promise&lt;T&gt;</code> <strong>promise</strong>, <code>any[]</code> <strong>params</strong></td></tr></tbody></table></div></div></main><footer class="VPDocFooter" data-v-e521b9a4 data-v-9519b7ec><!--[--><!--]--><!----><nav class="prev-next" data-v-9519b7ec><div class="pager" data-v-9519b7ec><a class="pager-link prev" href="/mollitia/guide/getting-started" data-v-9519b7ec><span class="desc" data-v-9519b7ec>Previous page</span><span class="title" data-v-9519b7ec>Getting Started</span></a></div><div class="pager" data-v-9519b7ec><a class="pager-link next" href="/mollitia/guide/api/modules/fallback" data-v-9519b7ec><span class="desc" data-v-9519b7ec>Next page</span><span class="title" data-v-9519b7ec>Fallback</span></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"guide_api_modules_bulkhead.md\":\"fffe85e9\",\"guide_api_modules_fallback.md\":\"6bbb94f4\",\"guide_api_circuit.md\":\"3485a7ac\",\"guide_getting-started.md\":\"804ce15d\",\"index.md\":\"309d1335\",\"guide_what-is-mollitia.md\":\"82f1e520\",\"guide_design.md\":\"9eb45ad0\",\"guide_api_modules_ratelimit.md\":\"0c738666\",\"guide_api_modules_breaker_sliding-time.md\":\"015aba6e\",\"guide_api_modules_timeout.md\":\"15737bf5\",\"guide_api_modules_cache.md\":\"17910115\",\"guide_api_modules_retry.md\":\"99d26170\",\"guide_customization_modules.md\":\"5d52bc8a\",\"guide_customization_addons.md\":\"b1fe0733\",\"guide_customization_addons_prometheus.md\":\"c904ec7c\",\"guide_api_modules_breaker_sliding-count.md\":\"fc9bdedf\",\"guide_customization_addons_redis.md\":\"79f38aaf\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Mollitia\",\"description\":\"A VitePress site\",\"base\":\"/mollitia/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"logo\":\"/favicon.svg\",\"nav\":[{\"text\":\"Guide\",\"link\":\"/guide/what-is-mollitia\",\"activeMatch\":\"/guide/\"},{\"text\":\"Links\",\"items\":[{\"text\":\"Contributing\",\"link\":\"https://github.com/genesys/mollitia/blob/main/CONTRIBUTING.md\"},{\"text\":\"Changelog\",\"link\":\"https://github.com/genesys/mollitia/blob/main/CHANGELOG.md\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/genesys/mollitia\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"Introduction\",\"collapsed\":false,\"items\":[{\"text\":\"What is Mollitia?\",\"link\":\"/guide/what-is-mollitia\"},{\"text\":\"Design\",\"link\":\"/guide/design\"},{\"text\":\"Getting Started\",\"link\":\"/guide/getting-started\"}]},{\"text\":\"API\",\"collapsed\":false,\"items\":[{\"text\":\"Circuit\",\"link\":\"/guide/api/circuit\"},{\"text\":\"Modules\",\"collapsed\":false,\"items\":[{\"text\":\"Fallback\",\"link\":\"/guide/api/modules/fallback\"},{\"text\":\"Timeout\",\"link\":\"/guide/api/modules/timeout\"},{\"text\":\"Retry\",\"link\":\"/guide/api/modules/retry\"},{\"text\":\"Cache\",\"link\":\"/guide/api/modules/cache\"},{\"text\":\"Ratelimit\",\"link\":\"/guide/api/modules/ratelimit\"},{\"text\":\"Bulkhead\",\"link\":\"/guide/api/modules/bulkhead\"},{\"text\":\"Circuit Breaker\",\"collapsed\":false,\"items\":[{\"text\":\"Sliding Count\",\"link\":\"/guide/api/modules/breaker/sliding-count\"},{\"text\":\"Sliding Time\",\"link\":\"/guide/api/modules/breaker/sliding-time\"}]}]}]},{\"text\":\"Customization\",\"collapsed\":false,\"items\":[{\"text\":\"Modules\",\"link\":\"/guide/customization/modules\"},{\"text\":\"Addons\",\"link\":\"/guide/customization/addons\",\"collapsed\":false,\"items\":[{\"text\":\"Prometheus\",\"link\":\"/guide/customization/addons/prometheus\"},{\"text\":\"Redis\",\"link\":\"/guide/customization/addons/redis\"}]}]}]},\"search\":{\"provider\":\"local\"}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":true}");</script>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"guide_api_modules_fallback.md\":\"6bbb94f4\",\"guide_api_modules_timeout.md\":\"15737bf5\",\"guide_customization_addons_prometheus.md\":\"c904ec7c\",\"guide_api_modules_breaker_sliding-time.md\":\"015aba6e\",\"guide_api_modules_retry.md\":\"99d26170\",\"guide_api_modules_ratelimit.md\":\"0c738666\",\"guide_api_modules_cache.md\":\"17910115\",\"index.md\":\"309d1335\",\"guide_api_modules_bulkhead.md\":\"fffe85e9\",\"guide_design.md\":\"9eb45ad0\",\"guide_what-is-mollitia.md\":\"82f1e520\",\"guide_api_modules_breaker_sliding-count.md\":\"fc9bdedf\",\"guide_api_circuit.md\":\"3485a7ac\",\"guide_getting-started.md\":\"804ce15d\",\"guide_customization_modules.md\":\"5d52bc8a\",\"guide_customization_addons_redis.md\":\"79f38aaf\",\"guide_customization_addons.md\":\"b1fe0733\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Mollitia\",\"description\":\"A VitePress site\",\"base\":\"/mollitia/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"logo\":\"/favicon.svg\",\"nav\":[{\"text\":\"Guide\",\"link\":\"/guide/what-is-mollitia\",\"activeMatch\":\"/guide/\"},{\"text\":\"Links\",\"items\":[{\"text\":\"Contributing\",\"link\":\"https://github.com/genesys/mollitia/blob/main/CONTRIBUTING.md\"},{\"text\":\"Changelog\",\"link\":\"https://github.com/genesys/mollitia/blob/main/CHANGELOG.md\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/genesys/mollitia\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"Introduction\",\"collapsed\":false,\"items\":[{\"text\":\"What is Mollitia?\",\"link\":\"/guide/what-is-mollitia\"},{\"text\":\"Design\",\"link\":\"/guide/design\"},{\"text\":\"Getting Started\",\"link\":\"/guide/getting-started\"}]},{\"text\":\"API\",\"collapsed\":false,\"items\":[{\"text\":\"Circuit\",\"link\":\"/guide/api/circuit\"},{\"text\":\"Modules\",\"collapsed\":false,\"items\":[{\"text\":\"Fallback\",\"link\":\"/guide/api/modules/fallback\"},{\"text\":\"Timeout\",\"link\":\"/guide/api/modules/timeout\"},{\"text\":\"Retry\",\"link\":\"/guide/api/modules/retry\"},{\"text\":\"Cache\",\"link\":\"/guide/api/modules/cache\"},{\"text\":\"Ratelimit\",\"link\":\"/guide/api/modules/ratelimit\"},{\"text\":\"Bulkhead\",\"link\":\"/guide/api/modules/bulkhead\"},{\"text\":\"Circuit Breaker\",\"collapsed\":false,\"items\":[{\"text\":\"Sliding Count\",\"link\":\"/guide/api/modules/breaker/sliding-count\"},{\"text\":\"Sliding Time\",\"link\":\"/guide/api/modules/breaker/sliding-time\"}]}]}]},{\"text\":\"Customization\",\"collapsed\":false,\"items\":[{\"text\":\"Modules\",\"link\":\"/guide/customization/modules\"},{\"text\":\"Addons\",\"link\":\"/guide/customization/addons\",\"collapsed\":false,\"items\":[{\"text\":\"Prometheus\",\"link\":\"/guide/customization/addons/prometheus\"},{\"text\":\"Redis\",\"link\":\"/guide/customization/addons/redis\"}]}]}]},\"search\":{\"provider\":\"local\"}},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":true}");</script>

</body>
</html>
Loading

0 comments on commit d278822

Please sign in to comment.