code: function setEventIdAndSeqNos(state, eventIdAndSeqNos) {
    const {eventID, eventSeqNo, eventSubSeqNo} = eventIdAndSeqNos || {};
    state.eventID = eventID;
    state.eventSeqNo = eventSeqNo;
    if (isNotBlank(eventSubSeqNo)) state.eventSubSeqNo = eventSubSeqNo;
    return state;
  }
docs: Updates the given message's state or unusable record's state with the given message's record's event id and event
  sequence number(s).
  @param {MessageState|UnusableRecordState} state - the message's state or unusable record's state to be updated
  @param {EventIdAndSeqNos} eventIdAndSeqNos - the resolved event id and sequence number(s)
  @returns {MessageState|UnusableRecordState} the given state