Closed FinleyMcIlwaine closed 7 months ago
@snoyberg I'm OK with this PR.
But I don't remember why the Reaper
constructor is exported.
Should we stop exporting it and export it from Reaper.Internal
?
Merged anyway.
I will probably make Reaper.Internal
later.
Thank you for your contribution!
It is convenient to be able to modify reaper workloads outside of the
reaperAction
in scenarios where we don't want to wait forreaperDelay
for the jobs to be updated. This PR adds an atomicreaperModify
function to the reaper API which enables this.Since this changes the visible
Reaper
constructor, I did a major version bump (auto-update
0.1.6 -> 0.2.0) and added a changelog entry. I also bumped thewarp
dependency onauto-update
upper bound.Before submitting your PR, check that you've:
@since
declarations to the HaddockAfter submitting your PR: