Closed tqma113 closed 3 years ago
It could be improved as an opt-in
feature when calling pipeline.run(context, options)
Emm, why is it a opt-in
feature? I think it could a default feautre? It also not affects the code written before.
Just like this.
runHooks(() => onLast(input), hooks)
Yes, it can be a default setting, I mean we should offer an option to enable or disable.
All middlewares run with
runHooks
but theonLast
is not, is it a feature or could improve?