dispatch(actionKey, payload) {
		if (typeof this.actions[actionKey] !== 'function') {
			console.error(`Action "${actionKey}" doesn't exist`);
			return false;
		}
		console.groupCollapsed(`Action: ${actionKey}`);

		this.status = 'action';

		this.actions[actionKey](this, payload);

		console.groupEnd();

		return true;
	}
/**
	 * A dispatcher for actions that looks in the actions
	 * collection and runs the action if it can find it
	 *
	 * @param {string} actionKey
	 * @param {mixed} payload
	 * @returns {boolean}
	 * @memberof Store
	 */
A dispatcher for actions that looks in the actions
collection and runs the action if it can find it

@param {string} actionKey
@param {mixed} payload
@returns {boolean}
@memberof Store
A dispatcher for actions that looks in the actions collection and runs the action if it can find it @param { string } actionKey @param { mixed } payload @returns { boolean } @memberof Store
dispatch(actionKey, payload) {
		if (typeof this.actions[actionKey] !== 'function') {
			console.error(`Action "${actionKey}" doesn't exist`);
			return false;
		}
		console.groupCollapsed(`Action: ${actionKey}`);
		this.status = 'action';
		this.actions[actionKey](this, payload);
		console.groupEnd();
		return true;
	}
dispatch ( actionKey , payload ) { if ( typeof this . actions [ actionKey ] !== 'function' ) { console . error ( ` ${ actionKey } ` ) ; return false ; } console . groupCollapsed ( ` ${ actionKey } ` ) ; this . status = 'action' ; this . actions [ actionKey ] ( this , payload ) ; console . groupEnd ( ) ; return true ; }
A dispatcher for actions that looks in the actions
 collection and runs the action if it can find it
A dispatcher for actions that looks in the actions collection and runs the action if it can find it