Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegFlow
/ empty_n
Method
empty_n
flow-rs/src/channel/receiver.rs:88–90 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
86
}
87
#[doc(hidden)]
88
pub fn empty_n(&self) -> usize {
89
self.m_epoch.load(Ordering::Relaxed)
90
}
91
/// Drop self, and closes the channel if there are no receivers left.
92
pub fn abort(&mut self) {
93
self.imp.take();
Callers
nothing calls this directly
Calls
1
load
Method · 0.80
Tested by
no test coverage detected