Replace old custom async jobs framework with Rust's async #58
Labels
No Label
IMAP
JMAP
Maildir
Retired
User Experience
User Interface
bsd
bug
contacts
currently worked on
documentation
duplicate
easy
enhancement
help wanted
invalid
linux-gnu
macos
mbox
notmuch
question
security
wishlist
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: meli/meli#58
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Before Rust had async support on stable, I wrote
melib/src/async_workers.rs
. All functions returningAsync<_>
results can be turned intoasync fn
s.Prerequisites
async_trait
crate)Benefits
reqwest
)Drop
in executor thread for very very large objects to avoid UI process lag.Async<_>
requires a lot of boilerplate for polling and result yielding