Skip to content

feature request: support "pinning" tasks to workers #480

Open
@johanatan

Description

@johanatan

When workers are spawned, allow specifying a "key" (string) for each. When tasks are queued, accept a zero arity function returning a key. If the key returned matches any of the keys supplied when the workers were spawned, ensure that the task is scheduled on the matching worker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions