Skip to content

[work-pool] Add work-pool subproject#305

Merged
mbj merged 1 commit intomainfrom
add/work-pool
Jun 14, 2024
Merged

[work-pool] Add work-pool subproject#305
mbj merged 1 commit intomainfrom
add/work-pool

Conversation

@mbj
Copy link
Owner

@mbj mbj commented Jun 3, 2024

  • This is an extraction from my mutant-manager project.

@mbj mbj force-pushed the add/work-pool branch 3 times, most recently from f9d7f2d to 9aa4436 Compare June 3, 2024 20:05
@mbj mbj requested review from dkubb, epicallan and snusnu June 3, 2024 20:06
@mbj mbj force-pushed the add/work-pool branch 2 times, most recently from 31482d5 to edf2e0e Compare June 3, 2024 20:19
@mbj mbj force-pushed the add/work-pool branch 5 times, most recently from 8f21ea2 to c3bbefb Compare June 4, 2024 23:35
* This is an extraction from my mutant-manager project.
@mbj mbj force-pushed the add/work-pool branch from c3bbefb to 303f12b Compare June 5, 2024 01:59
Comment on lines +30 to +32
, workerRun :: Natural -> Source a -> m Done
-- ^ function called when a worker is booted, argument is the worker index,
-- and a source to be drained with `runSource`
Copy link
Collaborator

@dkubb dkubb Jun 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion: If nothing yet uses the index, I would probably remove it from the interface and add it when it is needed.

EDIT: It's possible the tests don't use it, but other code does. If so, then I'd suggest adding a test to exercise it.

@mbj mbj merged commit 3239364 into main Jun 14, 2024
@mbj mbj deleted the add/work-pool branch June 14, 2024 16:15
AndrewSwerlick pushed a commit to AndrewSwerlick/mhs that referenced this pull request Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants