const saves = ['profile', 'settings']
const done = after(saves.length, () => console.log('done saving!'))
forEach(saves, type => asyncSave({ 'type': type, 'complete': done }))
// => Logs 'done saving!' after the two async saves have completed.
asyncSave啥意思