Skip to content

Commit

Permalink
Deploying to gh-pages from @ 387ee43 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristgit committed Aug 22, 2024
1 parent f18e94f commit b72a415
Show file tree
Hide file tree
Showing 183 changed files with 1,236 additions and 1,672 deletions.
5 changes: 2 additions & 3 deletions .build
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ dist/lato-latin-ext-300-normal-VPGGJKJL.woff2
dist/lato-latin-ext-400-normal-N27NCBWW.woff2
dist/lato-latin-ext-700-normal-Q2L5DVMW.woff2
dist/remixicon-NKANDIL5.woff2
dist/search_data-161E7428.js
dist/sidebar_items-35424368.js
dist/search_data-DA7E9443.js
dist/sidebar_items-463C511D.js
event_handling.html
gateway_compression.html
gateway_intents.html
Expand All @@ -199,7 +199,6 @@ intro.html
manual_sharding.html
multi_node.html
pluggable_caching.html
qlc.html
search.html
state.html
voice-2.html
Expand Down
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-IHH6HKET.js"></script>
<script src="dist/sidebar_items-35424368.js"></script>
<script src="dist/sidebar_items-463C511D.js"></script>
<script src="docs_config.js"></script>
<script async src="dist/html-GXQ6W6IF.js"></script>

Expand Down
2 changes: 1 addition & 1 deletion Mix.Tasks.Gh.Docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-IHH6HKET.js"></script>
<script src="dist/sidebar_items-35424368.js"></script>
<script src="dist/sidebar_items-463C511D.js"></script>
<script src="docs_config.js"></script>
<script async src="dist/html-GXQ6W6IF.js"></script>

Expand Down
6 changes: 3 additions & 3 deletions Nostrum.Api.Ratelimiter.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-IHH6HKET.js"></script>
<script src="dist/sidebar_items-35424368.js"></script>
<script src="dist/sidebar_items-463C511D.js"></script>
<script src="docs_config.js"></script>
<script async src="dist/html-GXQ6W6IF.js"></script>

Expand Down Expand Up @@ -164,9 +164,9 @@ <h1>
<p>The ratelimiter is fully asynchronous internally. In theory, it also supports
queueing requests in an asynchronous manner. However, support for this is
currently not implemented in <a href="Nostrum.Api.html"><code class="inline">Nostrum.Api</code></a>.</p><p>If you want to make one or multiple asynchronous requests manually, you can
use the following pattern:</p><pre><code class="makeup elixir" translate="no"><span class="n">req</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">:gen_statem</span><span class="o">.</span><span class="n">send_request</span><span class="p" data-group-id="6726194438-1">(</span><span class="nc">Nostrum.Api.Ratelimiter</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="6726194438-2">{</span><span class="ss">:queue</span><span class="p">,</span><span class="w"> </span><span class="n">request</span><span class="p" data-group-id="6726194438-2">}</span><span class="p" data-group-id="6726194438-1">)</span><span class="w">
use the following pattern:</p><pre><code class="makeup elixir" translate="no"><span class="n">req</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">:gen_statem</span><span class="o">.</span><span class="n">send_request</span><span class="p" data-group-id="2138635357-1">(</span><span class="nc">Nostrum.Api.Ratelimiter</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="2138635357-2">{</span><span class="ss">:queue</span><span class="p">,</span><span class="w"> </span><span class="n">request</span><span class="p" data-group-id="2138635357-2">}</span><span class="p" data-group-id="2138635357-1">)</span><span class="w">
</span><span class="c1"># ...</span><span class="w">
</span><span class="n">response</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">:gen_statem</span><span class="o">.</span><span class="n">receive_response</span><span class="p" data-group-id="6726194438-3">(</span><span class="n">req</span><span class="p">,</span><span class="w"> </span><span class="n">timeout</span><span class="p" data-group-id="6726194438-3">)</span></code></pre><p>where <code class="inline">request</code> is a map describing the request to run - see <a href="Nostrum.Api.html"><code class="inline">Nostrum.Api</code></a>
</span><span class="n">response</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nc">:gen_statem</span><span class="o">.</span><span class="n">receive_response</span><span class="p" data-group-id="2138635357-3">(</span><span class="n">req</span><span class="p">,</span><span class="w"> </span><span class="n">timeout</span><span class="p" data-group-id="2138635357-3">)</span></code></pre><p>where <code class="inline">request</code> is a map describing the request to run - see <a href="Nostrum.Api.html"><code class="inline">Nostrum.Api</code></a>
for more information. You can also send multiple requests at the same time
and wait for their response: see <a href="https://www.erlang.org/doc/man/gen_statem.html#reqids_add-3"><code class="inline">:gen_statem.reqids_add/3</code></a> and
<a href="https://www.erlang.org/doc/man/gen_statem.html#wait_response-3"><code class="inline">:gen_statem.wait_response/3</code></a> for more information.</p><h2 id="module-multi-node" class="section-heading">
Expand Down
2 changes: 1 addition & 1 deletion Nostrum.Api.RatelimiterGroup.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-IHH6HKET.js"></script>
<script src="dist/sidebar_items-35424368.js"></script>
<script src="dist/sidebar_items-463C511D.js"></script>
<script src="docs_config.js"></script>
<script async src="dist/html-GXQ6W6IF.js"></script>

Expand Down
Loading

0 comments on commit b72a415

Please sign in to comment.