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

Update handlers.lua #380

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update handlers.lua #380

wants to merge 1 commit into from

Commits on Oct 21, 2024

  1. Update handlers.lua

    `Handlers.once` does a `prepend`: these should be higher priority than fallback handles. 
    
    Use case: worker pool.
    - Scenario 1: The master process resets a workers "busy" status upon receiving a "Ready" message.
    - Scenario 2: When the all workers are busy, the master process should suspend by doing `Receive` on (any) workers "Ready" message. Resuming the thread should take priority over resetting the status as in Scenario 1
    elliotsayes authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    cabd3a0 View commit details
    Browse the repository at this point in the history