Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8e6e82e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristgit committed Aug 23, 2024
1 parent 3550f0b commit 3cc7f1c
Show file tree
Hide file tree
Showing 182 changed files with 1,238 additions and 1,482 deletions.
4 changes: 2 additions & 2 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-DA7E9443.js
dist/sidebar_items-463C511D.js
dist/search_data-0DF2DC95.js
dist/sidebar_items-E9C8C345.js
event_handling.html
gateway_compression.html
gateway_intents.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-463C511D.js"></script>
<script src="dist/sidebar_items-E9C8C345.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-463C511D.js"></script>
<script src="dist/sidebar_items-E9C8C345.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-463C511D.js"></script>
<script src="dist/sidebar_items-E9C8C345.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="7481496280-1">(</span><span class="nc">Nostrum.Api.Ratelimiter</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="7481496280-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="7481496280-2">}</span><span class="p" data-group-id="7481496280-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="4971748866-1">(</span><span class="nc">Nostrum.Api.Ratelimiter</span><span class="p">,</span><span class="w"> </span><span class="p" data-group-id="4971748866-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="4971748866-2">}</span><span class="p" data-group-id="4971748866-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="7481496280-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="7481496280-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="4971748866-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="4971748866-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-463C511D.js"></script>
<script src="dist/sidebar_items-E9C8C345.js"></script>
<script src="docs_config.js"></script>
<script async src="dist/html-GXQ6W6IF.js"></script>

Expand Down
Loading

0 comments on commit 3cc7f1c

Please sign in to comment.