A common thing that comes up in "find-and-flood" workloads is that we don't necessarily want to schedule all of that work immediately, we may have an hourly task that we want to spread out over the next, say, 50 minutes (giving some buffer to avoid piling up of work). Let's come up with a nice DX for a function that helps spread the same task evenly over time (mapping it both over a collection of parameters and a period of time)
A common thing that comes up in "find-and-flood" workloads is that we don't necessarily want to schedule all of that work immediately, we may have an hourly task that we want to spread out over the next, say, 50 minutes (giving some buffer to avoid piling up of work). Let's come up with a nice DX for a function that helps spread the same task evenly over time (mapping it both over a collection of parameters and a period of time)