flutter_rust_bridge
flutter_rust_bridge copied to clipboard
Test error behavior of StreamSink initializer
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