Skip to content

How many threads are in the thread pool? #1007

Answered by fzyzcjy
temeddix asked this question in Q&A
Discussion options

You must be logged in to vote

You are welcome!

First of all, I got curious about how many threads are generated when Flutter Rust Bridge is used.

https://cjycode.com/flutter_rust_bridge/feature/handler.html
You can create custom handler, and thus customize #threads (or even use your own implementation etc)

The default one https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/frb_rust/src/handler.rs uses https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/frb_rust/src/thread.rs thus 4 threads.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by temeddix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants