timeout-iterator
TimeoutIterator is a wrapper over any iterator that adds peek_timeout and next_timeout functions. The canonical use-case is parsing multi-line free-form records (such as tailing a log fime) where it is desirable to consume the very last line, and peek whether the record continues on the next time, but not block indefinitely on the peek.
Ecosystem
crates.io
crates.io
Latest Release
about 4 years ago
1.1.7
about 4 years ago
Versions
15
15
Downloads
20,246 total
20,246 total
Dependent Repos
1
1
Loading...
Readme
Loading...
Links
| Registry | crates.io |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
Repository
| Stars | 2 on GitHub |
| Forks | 0 on GitHub |