An idea in my notes is to create a Progress type which is exactly like YieldProgress except none of its methods are async, for use in non-async code. I'm not sure whether this is worthwhile or not.
It would save some *_without_progress() suffixes.
Other non-async crates which wish to make yield_progress part of their API for progress reporting can hand out Progress without any confusing references to async.
An idea in my notes is to create a
Progress
type which is exactly likeYieldProgress
except none of its methods are async, for use in non-async code. I'm not sure whether this is worthwhile or not.*_without_progress()
suffixes.yield_progress
part of their API for progress reporting can hand outProgress
without any confusing references to async.