new AllObjects()
Wrapper for fetching all objects (DataObjects, Classes etc.).
- Source:
 
Properties:
| Name | Type | Argument | Default | Description | 
|---|---|---|---|---|
timeout | 
            
            Number | 
                
                    <optional> | 
            
            
                15000 | 15 seconds  | 
        
path | 
            
            String | 
                
                    <optional> | 
            
            
                null | request path  | 
        
abort | 
            
            Boolean | 
                
                    <optional> | 
            
            
                false | used internally to conrole for loop  | 
        
Example
var all = AllObjects.setConfig(config)({
  path: '/v1.1/instances/some-instance/classes/some-class/objects/'
});
all.on('start', function() {
  console.log('all::start');
});
all.on('stop', function() {
  console.log('all::stop');
});
all.on('page', function(page) {
  console.log('all::page', page);
});
all.on('error', function(error) {
  console.log('all::error', error);
});