thunkify-array
A extension of thunkify
Feature
If you want to execute a function with different arugments, you can push them in a array like this
const co = const thunkify =
But if you have many arguments (in this example, they are files) to read, it's trouble
When you use thunkify-array, you can pass the first argument as array that include all arguments, like this
const co = const thunkifyArr =
It's easy!
However, if the first argument is not a array, it will work like thunkify
const co = const thunkify = const thunkifyArr =