The idea is: once something is exposed to the task processor, either by getting an ExecutionContext, or a terminal task, it shouldn't need to get the choir argument in addition on that. Choir becomes a transient global: it's accessible where it needs to be accessible, but without the boilerplate to pass it around everywhere.
Note: the scope of the PR is reduced to only expose it on the execution context, and do it as an accessor method.
The idea is: once something is exposed to the task processor, either by getting an
ExecutionContext
, or a terminal task, it shouldn't need to get thechoir
argument in addition on that.Choir
becomes a transient global: it's accessible where it needs to be accessible, but without the boilerplate to pass it around everywhere.Note: the scope of the PR is reduced to only expose it on the execution context, and do it as an accessor method.