Skip to content

Commit

Permalink
Update packages/yew/src/platform/pinned/mpsc.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
  • Loading branch information
futursolo and hamza1311 committed Aug 15, 2022
1 parent 177c6cb commit 1e73fb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/yew/src/platform/pinned/mpsc.rs
Expand Up @@ -175,6 +175,8 @@ impl<T> UnboundedSender<T> {
}

/// Closes the channel.
///
/// Every sender (dropped or not) is considered closed when this method is called.
pub fn close_now(&self) {
// SAFETY:
//
Expand Down

0 comments on commit 1e73fb4

Please sign in to comment.