Add todo about async multithreading
This commit is contained in:
parent
380d66c489
commit
96ea810ace
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ fn show_window ( application : & Application ) {
|
||||||
spawn_future_local ( async move {
|
spawn_future_local ( async move {
|
||||||
async_result_context ! (
|
async_result_context ! (
|
||||||
async {
|
async {
|
||||||
|
// TODO: Move non-UI async tasks to non-local context
|
||||||
|
|
||||||
let data_manager = leak ( DataManager :: new () . await ? ) ;
|
let data_manager = leak ( DataManager :: new () . await ? ) ;
|
||||||
|
|
||||||
let ui = UI :: new (
|
let ui = UI :: new (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue