You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							393 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							393 B
						
					
					
				'use strict'
 | 
						|
 | 
						|
var fall = require('./')()
 | 
						|
 | 
						|
fall([
 | 
						|
  function a (cb) {
 | 
						|
    console.log('called a')
 | 
						|
    cb(null, 'a')
 | 
						|
  },
 | 
						|
  function b (a, cb) {
 | 
						|
    console.log('called b with:', a)
 | 
						|
    cb(null, 'a', 'b')
 | 
						|
  },
 | 
						|
  function c (a, b, cb) {
 | 
						|
    console.log('called c with:', a, b)
 | 
						|
    cb(null, 'a', 'b', 'c')
 | 
						|
  }
 | 
						|
], function result (err, a, b, c) {
 | 
						|
  console.log('result arguments', err, a, b, c)
 | 
						|
})
 |