indeedee 0.1.0

Distribute iterated work over multiple frames
Documentation
  • Coverage
  • 75%
    15 out of 20 items documented0 out of 13 items with examples
  • Size
  • Source code size: 4.47 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.71 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • gamma-delta

Indeedee

Utilities for making progress bars and distributing work across frames. The target use case is for things like world generation or loading assets.

The core of this crate is the ProgressiveWaiter struct, which takes an iterator and a state running over it. Then, you query the waiter with query, passing a maximum amount of time you allow the iterator to run. The ProgressiveWaiter will consume as many elements out of the iterator as it can into the state, and return whether it's done or not.


This crate is built alongside and for my W.I.P. roguelike Foxfire.