Distributed.js
function enter(f, rejected) {
	return function() {
		try {
			return Promise.resolve(f.apply(this, arguments)).catch(rejected)
		}
		catch(e) { return rejected(e) }
	}
}
function enter(f, rejected) {
	return function() {
		try {
			return Promise.resolve(f.apply(this, arguments)).catch(rejected)
		}
		catch(e) { return rejected(e) }
	}
}
function enter ( f , rejected ) { return function ( ) { try { return Promise . resolve ( f . apply ( this , arguments ) ) . catch ( rejected ) } catch ( e ) { return rejected ( e ) } } }
enter a sub-processes with privated rejected method
enter a sub - processes with privated rejected method