lazy_async_promise 0.1.2

Primitives for lazily getting data from futures with tokio for immediate mode guis
Documentation

lazy_async_promise: Simple primitives to manage tokio and egui

Documentation CI

This crate currently only features two simple primitives for getting computation time off the main thread using tokio:

  • LazyVecPromise for a vector-backed storage which can be partially displayed
  • LazyValuePromise for a single value future

As the name suggests both of them are lazily evaluated and nothing happens until polled for the first time.

Example-usage of this crate with a small egui/eframe blog-reader can be found here