fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
4.12k stars 283 forks source link

Test error behavior of StreamSink initializer #637

Closed Desdaemon closed 1 year ago

Desdaemon commented 2 years ago

Btw I am not sure what will happen if a stream function returns a Result::Err, maybe it will not be propagated correctly to rust. Maybe we should add a separate test (probably in a separate PR) to confirm the behavior.

_Originally posted by @fzyzcjy in https://github.com/fzyzcjy/flutter_rust_bridge/pull/589#discussion_r945375738_

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.