Open Smesharikable opened 5 years ago
When passing a function into a series
or parallel
call, it avoids the task system. This is something I've been thinking about a lot and don't have a solution for currently (for example, every anonymous function would be registered as "anonymous" in the task system, breaking all sorts of things).
I tried to use
Sharing Functionalities
fromREADME
as an example to configure my tasks but it seems to not working, becausethis
in function arguments ofseries
andparallel
stay bound to theGlobal object
.There is a
gulpfile.js
to reproduce: