static all(...parents) {
		var sources = [];
		var newcr = new Reactor(() => {
			let arr = [];
			for (let source of sources) {
				arr.push(source.value);
			}
			return arr;
		});
		for (let parent of parents) {
			if (parent instanceof Reactor) {
				// Attach to parent
				newcr.attach(parent, true);
				sources.push(parent)
			}
			else if (Object.prototype.hasOwnProperty.call(parent, 'value')) {
				sources.push(parent);
			}
			else {
				// Convert raw values to container objects
				sources.push({value: parent});
			}
		}
		// Get initial values from parents
		newcr.update();
		return newcr;
	}
// Parents which are raw values will be included in output as constants
Parents which are raw values will be included in output as constants
Parents which are raw values will be included in output as constants
static all(...parents) {
		var sources = [];
		var newcr = new Reactor(() => {
			let arr = [];
			for (let source of sources) {
				arr.push(source.value);
			}
			return arr;
		});
		for (let parent of parents) {
			if (parent instanceof Reactor) {
				newcr.attach(parent, true);
				sources.push(parent)
			}
			else if (Object.prototype.hasOwnProperty.call(parent, 'value')) {
				sources.push(parent);
			}
			else {
				sources.push({value: parent});
			}
		}
		newcr.update();
		return newcr;
	}
static all ( ... parents ) { var sources = [ ] ; var newcr = new Reactor ( ( ) => { let arr = [ ] ; for ( let source of sources ) { arr . push ( source . value ) ; } return arr ; } ) ; for ( let parent of parents ) { if ( parent instanceof Reactor ) { newcr . attach ( parent , true ) ; sources . push ( parent ) } else if ( Object . prototype . hasOwnProperty . call ( parent , 'value' ) ) { sources . push ( parent ) ; } else { sources . push ( { value : parent } ) ; } } newcr . update ( ) ; return newcr ; }
Parents which are raw values will be included in output as constants
Parents which are raw values will be included in output as constants
// Attach to parent // Convert raw values to container objects // Get initial values from parents