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
This would be helpful for schedulers in general but more specifically would solve this problem of always needing Fiber.current inside C for callbacks - but never having it... resulting in code like:
This would be helpful for schedulers in general but more specifically would solve this problem of always needing
Fiber.current
inside C for callbacks - but never having it... resulting in code like:It would be desirable to be able to simplify:
This can be done now fairly easily by accessing private API but would be fragile in the future and subject to breakage:
It's also possible for the Scheduler to just push this information down into C itself:
Having the API already available in C to achieve this seems a much more elegant solution though. If this would be welcome I can create a PR.
Original context:
Originally posted by @ChayimFriedman2 in #102 (comment)
The text was updated successfully, but these errors were encountered: