Skip to content
Discussion options

You must be logged in to vote

No, the reactive system itself is explicitly single-threaded. I'm surprised that it even compiled, but I guess it's because you are sending a WriteSignal which is really just an index type and so doesn't get inferred as !Send.

You can't update a signal from another thread. You could send a channel transmitter across threads and listen for it on this thread, and then update the signal. I don't know much more about this and have never tried it, unfortunately.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by MalpenZibo
Comment options

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

gbj Nov 2, 2023
Maintainer

Comment options

You must be logged in to vote
0 replies
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