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
Now flutter_rust_bridge provides the ability to return a stream from a called function, this is implemented using the StreamSink primitive, but what if you need to pass a stream as an argument? I mean to do it like it is implemented in WebSocket, GRPCWeb, etc. Of course, to organize a bidirectional stream, you can call a function with the necessary arguments and return a stream, but it seems to me that it would be more useful to be able to both transfer a stream and return a stream.
I suggest to make 2 primitives
rust -> dart streaming
dart -> rust steaming
What do you think ?
The text was updated successfully, but these errors were encountered:
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.
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.
Now flutter_rust_bridge provides the ability to return a stream from a called function, this is implemented using the StreamSink primitive, but what if you need to pass a stream as an argument? I mean to do it like it is implemented in WebSocket, GRPCWeb, etc. Of course, to organize a bidirectional stream, you can call a function with the necessary arguments and return a stream, but it seems to me that it would be more useful to be able to both transfer a stream and return a stream.
I suggest to make 2 primitives
What do you think ?
The text was updated successfully, but these errors were encountered: