Skip to content

Commit

Permalink
deploy: fb3ef4d
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Oct 22, 2023
1 parent 15545fd commit 1fa68c3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions stable/latest/book/main_event_loop.html
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ <h2 id="how-to-avoid-blocking-the-main-loop"><a class="header" href="#how-to-avo
</span><span class="boring"> .margin_end(12)
</span><span class="boring"> .build();
</span><span class="boring">
</span> let (sender, receiver) = async_channel::unbounded();
</span> // Create channel that can hold at most 1 message at a time
let (sender, receiver) = async_channel::bounded(1);
// Connect to &quot;clicked&quot; signal of `button`
button.connect_clicked(move |_| {
let sender = sender.clone();
Expand Down Expand Up @@ -422,7 +423,8 @@ <h2 id="how-to-avoid-blocking-the-main-loop"><a class="header" href="#how-to-avo
</span><span class="boring"> .margin_end(12)
</span><span class="boring"> .build();
</span><span class="boring">
</span> let (sender, receiver) = async_channel::unbounded();
</span> // Create channel that can hold at most 1 message at a time
let (sender, receiver) = async_channel::bounded(1);
// Connect to &quot;clicked&quot; signal of `button`
button.connect_clicked(move |_| {
let main_context = MainContext::default();
Expand Down
6 changes: 4 additions & 2 deletions stable/latest/book/print.html
Original file line number Diff line number Diff line change
Expand Up @@ -2689,7 +2689,8 @@ <h2 id="how-to-avoid-blocking-the-main-loop"><a class="header" href="#how-to-avo
</span><span class="boring"> .margin_end(12)
</span><span class="boring"> .build();
</span><span class="boring">
</span> let (sender, receiver) = async_channel::unbounded();
</span> // Create channel that can hold at most 1 message at a time
let (sender, receiver) = async_channel::bounded(1);
// Connect to &quot;clicked&quot; signal of `button`
button.connect_clicked(move |_| {
let sender = sender.clone();
Expand Down Expand Up @@ -2767,7 +2768,8 @@ <h2 id="how-to-avoid-blocking-the-main-loop"><a class="header" href="#how-to-avo
</span><span class="boring"> .margin_end(12)
</span><span class="boring"> .build();
</span><span class="boring">
</span> let (sender, receiver) = async_channel::unbounded();
</span> // Create channel that can hold at most 1 message at a time
let (sender, receiver) = async_channel::bounded(1);
// Connect to &quot;clicked&quot; signal of `button`
button.connect_clicked(move |_| {
let main_context = MainContext::default();
Expand Down
2 changes: 1 addition & 1 deletion stable/latest/book/searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion stable/latest/book/searchindex.json

Large diffs are not rendered by default.

0 comments on commit 1fa68c3

Please sign in to comment.