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
I've played around with web_worker_fib and web_worker_prime examples which helped me understand agents, but these examples use function components.
I've tried implementing web_worker_prime in a struct component, but I have no idea what is the struct component equivalent of use_reactor_subscription.
This is how far I got with rewriting web_worker_prime/lib.rs with struct components
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've played around with web_worker_fib and web_worker_prime examples which helped me understand agents, but these examples use function components.
I've tried implementing web_worker_prime in a struct component, but I have no idea what is the struct component equivalent of use_reactor_subscription.
This is how far I got with rewriting web_worker_prime/lib.rs with struct components
Any help would be appreciated :)
Beta Was this translation helpful? Give feedback.
All reactions