subscribe(actionName, fn) {
    let
      actions = this.actions,
      fnName = fn.name,
      action = this.find(actionName);

    if (!action) {
      action = { name: actionName, subscriptions: [] };
      actions.push(action);
    }

    action.subscriptions.push({ fnName, fn });
  }
/**
   * This used to subscribe new actions or new functions to existent actions.
   *
   * @param  {String}   actionName String represents action name.
   * @param  {Function} fn         Function that will to be registered.
   */
This used to subscribe new actions or new functions to existent actions.
@param  {String}   actionName String represents action name.
@param  {Function} fn         Function that will to be registered.
This used to subscribe new actions or new functions to existent actions . @param { String } actionName String represents action name . @param { Function } fn Function that will to be registered .
subscribe(actionName, fn) {
    let
      actions = this.actions,
      fnName = fn.name,
      action = this.find(actionName);
    if (!action) {
      action = { name: actionName, subscriptions: [] };
      actions.push(action);
    }
    action.subscriptions.push({ fnName, fn });
  }
subscribe ( actionName , fn ) { let actions = this . actions , fnName = fn . name , action = this . find ( actionName ) ; if ( ! action ) { action = { name : actionName , subscriptions : [ ] } ; actions . push ( action ) ; } action . subscriptions . push ( { fnName , fn } ) ; }
This used to subscribe new actions or new functions to existent actions.
This used to subscribe new actions or new functions to existent actions .