docs: function listenersById(state = {}, { type, path, payload }) {
    switch (type) {
      case actionTypes.SET_LISTENER:
        return {
          ...state,
          [payload.name]: {
            name: payload.name,
            path,
          },
        };
      case actionTypes.UNSET_LISTENER:
        return omit(state, [payload.name]);
      default:
        return state;
    }
  }