Add a ThreadPool async executor to State
If we need to use simple async code in a few places, a single executor may be better than having several threads blocking on async code. This should probably use the calloop executor, but that's had issues in cosmic-workspaces, though that may not apply here.
This commit is contained in:
parent
f0bab4a40b
commit
8455869439
3 changed files with 5 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -833,6 +833,7 @@ dependencies = [
|
|||
"cosmic-text",
|
||||
"egui",
|
||||
"egui_plot",
|
||||
"futures-executor",
|
||||
"i18n-embed",
|
||||
"i18n-embed-fl",
|
||||
"iced_tiny_skia",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue