Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Async Docs #2475

Open
mcmah309 opened this issue Jan 2, 2025 · 1 comment
Open

Improve Async Docs #2475

mcmah309 opened this issue Jan 2, 2025 · 1 comment
Labels
awaiting Waiting for responses, PR, further discussions, upstream release, etc enhancement New feature or request

Comments

@mcmah309
Copy link
Contributor

mcmah309 commented Jan 2, 2025

I was running into issue with async. The current docs are lacking - https://cjycode.com/flutter_rust_bridge/guides/concurrency/async-rust https://cjycode.com/flutter_rust_bridge/guides/concurrency/sync-rust

I had to rummage through the code. Things like flutter_rust_bridge:: exist in examples (https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/frb_example/pure_dart/rust/src/api/async_spawn.rs) but did not work for me, I needed #2151

@mcmah309 mcmah309 added the enhancement New feature or request label Jan 2, 2025
@fzyzcjy
Copy link
Owner

fzyzcjy commented Jan 2, 2025

Hi, could you please provide a bit more details? For example, when error do you see for a simple async rust function:

async fn f() { }

@fzyzcjy fzyzcjy added the awaiting Waiting for responses, PR, further discussions, upstream release, etc label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting Waiting for responses, PR, further discussions, upstream release, etc enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants