This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
influx-writer
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
adds InfluxWriter::is_full
master
Jonathan Strong
5 years ago
parent
86542209b1
commit
a7ffcba0e5
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/influx.rs
+ 2
- 0
src/influx.rs
View File
@@ -331,6 +331,8 @@ impl InfluxWriter {
self.tx.clone()
}
pub fn is_full(&self) -> bool { self.tx.is_full() }
pub fn placeholder() -> Self {
let (tx, _) = bounded(1024);
Self {
Write
Preview
Loading…
Cancel
Save