mirror of
https://github.com/dnaka91/obws
synced 2024-11-13 19:12:03 +00:00
Fix a few spelling mistakes
This commit is contained in:
parent
2489ab49c0
commit
2aa6625d6f
@ -50,7 +50,7 @@ impl ReceiverList {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Reset the list, cancelling any outstanding receivers.
|
||||
/// Reset the list, canceling any outstanding receivers.
|
||||
pub async fn reset(&self) {
|
||||
self.0.lock().await.clear();
|
||||
}
|
||||
@ -68,14 +68,14 @@ impl ReidentifyReceiverList {
|
||||
rx
|
||||
}
|
||||
|
||||
/// Notify the next listener in the queue, transfering it the response.
|
||||
/// Notify the next listener in the queue, transferring it the response.
|
||||
pub async fn notify(&self, identified: Identified) {
|
||||
if let Some(tx) = self.0.lock().await.pop_front() {
|
||||
tx.send(identified).ok();
|
||||
}
|
||||
}
|
||||
|
||||
/// Reset the list, cancelling any outstanding receivers.
|
||||
/// Reset the list, canceling any outstanding receivers.
|
||||
pub async fn reset(&self) {
|
||||
self.0.lock().await.clear();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user