Skip to content
Discussion options

You must be logged in to vote

You can create a pair of async channels with futures::channels::mpsc::channel(): One for sending messages to the window and one for receiving messages from the window. You can pass the sender and receiver through props and read each channel in a use_future

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JacobMillward
Comment options

Answer selected by JacobMillward
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