-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Moving my question from box-project/box#53 (comment) to here.
I think it would be good if it would be possible to easily switch from parallelMap()
to a plain old array_map()
, be it for debugging purposes or simply because in a special case parallelMap()
is not working e.g. when the passed argument is not serializable.
Maybe an env variable would work, the inconvenient being it's gonna rely on global state, the benefit is would be easier and won't require much changes.
On the same token, the major downside I have with this library is the inability to use break points for the paralellised work. Would make it work?
If you have some insight regarding this that would be greatly appreciated, otherwise I'll try to give it a stab in the coming months :)