I am stuck with a very naive problem. Can we pass parameters to function while passing the functions through a function array in async.parallels. Below is a template code. While calling fn1 and fn2 in parallel, i want to pass parameters to each of them.
fn1 = (param , callback) ->
#somethg
# callback
fn2 = (param , callback) ->
#somethg
# callback
async.parallel [fn1 , fn2 ] , (err, result) ->
# results aggregated from fn1 and fn2