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

Feature: parameterized tasks #151

Open
2 tasks
jerome-benoit opened this issue Oct 21, 2024 · 0 comments
Open
2 tasks

Feature: parameterized tasks #151

jerome-benoit opened this issue Oct 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jerome-benoit
Copy link
Collaborator

jerome-benoit commented Oct 21, 2024

Mixin API:

  • params iteration:
    .add.each(['foo', 'bar'])('%s task', (param) => {})
  • params range:
    .add.each('[1-10]')('%i task', (param) => {})
  • ?

Syntax:
.each([arg1, ... argN]) where argi can be an array of arguments: [arg1, ..., argK] with the very same length.

@jerome-benoit jerome-benoit added the enhancement New feature or request label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant