lib/state/state.js
function lookupAddresses(state, actorIds, cb) {
	if (!mage.session) {
		return cb(new StateError('Cannot find actors without the "session" module set up.', {
			actorIds: actorIds
		}));
	}

	mage.session.getActorAddresses(state, actorIds, cb);
}
function lookupAddresses(state, actorIds, cb) {
	if (!mage.session) {
		return cb(new StateError('Cannot find actors without the "session" module set up.', {
			actorIds: actorIds
		}));
	}

	mage.session.getActorAddresses(state, actorIds, cb);
}
function lookupAddresses ( state , actorIds , cb ) { if ( ! mage . session ) { return cb ( new StateError ( 'Cannot find actors without the "session" module set up.' , { actorIds : actorIds } ) ) ; } mage . session . getActorAddresses ( state , actorIds , cb ) ; }
Utility method to lookup and cache addresses
to send messages to given actorIds

@param {*} state
@param {*} actorIds
@param {*} cb
Utility method to lookup and cache addresses to send messages to given actorIds