You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I eventually drop the returned Ctx and am presented with a panic when the spawn returns and attempts to send the output on the channel.
Since I believe the only failure for sending the output would be when the user drops the join handle it would seem reasonable to ignore that error and not panic.
I'd be happy to submit a PR if that is acceptable.
The text was updated successfully, but these errors were encountered:
By making the send a panic on fail
flutter_rust_bridge/frb_rust/src/rust_async/web.rs
Line 44 in acf0d32
it prevents a scenario where you aren't concerned with the output or the join handle, and is inconsistent with the non-web behavior.
In my case I'm spawning the local to process some messages
Everything works as expected.
I eventually drop the returned Ctx and am presented with a panic when the spawn returns and attempts to send the output on the channel.
Since I believe the only failure for sending the output would be when the user drops the join handle it would seem reasonable to ignore that error and not panic.
I'd be happy to submit a PR if that is acceptable.
The text was updated successfully, but these errors were encountered: