Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inadequate multi-thread example #2070

Closed
3 of 8 tasks
SpanishPear opened this issue Sep 21, 2021 · 3 comments
Closed
3 of 8 tasks

Inadequate multi-thread example #2070

SpanishPear opened this issue Sep 21, 2021 · 3 comments
Assignees
Labels
A-examples Area: The examples documentation

Comments

@SpanishPear
Copy link
Contributor

This is about:

  • A typo
  • Innaccurate/misleading documentation (e.g. technically incorrect advice)
  • Undocumented code
  • Outdated documentation
  • Other

Problem
The current example for multi threading using yew agents does not work when run with Trunk (or, at all?).
image

Details about the solution you'd like (Optional)
I'd like to add an additional example of multithreading using web workers to the repository, one that actually works, without waiting on trunk's progress with this feature. @insou22 has a working demo which you can view live here, or at the repo here - which I'd like to fold into the examples.

Additional context (Optional)
There are a few instances of people asking support on the discord, which shows it's something that would be great to have.

Questionaire (Optional)

  • I'd like to write this documentation
  • I'd like to write this documentation but I'm not sure what's needed
  • I don't have time to add this right now, but maybe later
@SpanishPear SpanishPear changed the title Inadequete multi-thread example Inadequate multi-thread example Sep 21, 2021
@SpanishPear
Copy link
Contributor Author

(spelling is hard)

@mc1098 mc1098 added the A-examples Area: The examples label Sep 21, 2021
@mc1098
Copy link
Contributor

mc1098 commented Sep 21, 2021

Totally agree with this :)

When writing the notes in the README for the example, I'd still add a small note about the Trunk issue - this lets us quickly review the progress and when that feature is added we can either add a new example to go side-by-side with this one or adapt it to use Trunk depending on the state of things at that time.

@mc1098
Copy link
Contributor

mc1098 commented Sep 21, 2021

Oh I'm sorry!
Thank you @SpanishPear for taking this up :)
and thank you @insou22 for the demo.
Together you will save another poor soul from staying up into the early hours trying to get this working themselves without a guide ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-examples Area: The examples documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants