Is there a way to make scheduling decisions based on some metadata of the Effect being scheduled? For example I implemented the following Scheduler which has greatly improved the responsiveness of my app.
but there are some Effect workflows that I'd like to run as quickly as possible instead of yielding to the UI like in this scheduler. The scheduler gets no information about what
task
task
actually is so I can't make useful scheduling decisions there.
How might I make something like an
asHighPrority(e: Effect<R,E,A)): Effect<R,E,A>
asHighPrority(e: Effect<R,E,A)): Effect<R,E,A>
combinator that modifies how the particular Effect and its children will be scheduled?