require "async" bigArray = (() -> arr = [] i = 0 while(i < 1e+6) arr[i] = i + 1 i = i + 1 arr )() async.parallel task1: (callback) -> console.log "task1: start" async.map bigArray , (v, next) -> next null, v * 2 , (error, result) -> console.log "task1: done" callback error, result task2: (callback) -> console.log "task2: start" async.map bigArray , (v, next) -> next null, v * v , (error, result) -