Closed ppeeou closed 3 years ago
It would be nice to review this issue with other members. May I ask @dc7303 and @mojosoeun?
It would be nice to review this issue with other members. May I ask @dc7303 and @mojosoeun?
Of course. I will review this PR with interest. :D
It would be nice to review this issue with other members. May I ask @dc7303 and @mojosoeun?
Sure 🙂
Thank you for your work.
Can you please tell us where is the code works asynchronously? I think it will help us to think about if we can get bugs caused by asynchronous logic.
When the scheduler.reserveTask
function is executed, the scheduled function is periodically called asynchronously.
How about checking the bug in the next task??🤔
@ppeeou In this PR, I also fixed some parts I want to apply for, so I would like to receive approvals from @mojosoeun and @dc7303.
What this PR does / why we need it?
Redefine the worker and container roles
Container
Worker
After the worker finishes the work, requests such as drawing on the canvas are transferred to the container by calling
emit
.Why? In the existing state, it was difficult to expand the function.
Any background context you want to provide?
What are the relevant tickets?
Fixes #
Checklist