code: function EventStoreSubscription(streamId, lastCommitPosition, lastEventNumber) {
    Object.defineProperties(this, {
      isSubscribedToAll: {
        value: streamId === ''
      },
      streamId: {
        value: streamId
      },
      lastCommitPosition: {
        value: lastCommitPosition
      },
      lastEventNumber: {
        value: lastEventNumber
      }
    });
  }
docs: *
  EventStoreSubscription
  @param {string} streamId
  @param {number} lastCommitPosition
  @param {?number} lastEventNumber
  @constructor
  @property {boolean} isSubscribedToAll
  @property {string} streamId
  @property {number} lastCommitPosition
  @property {?number} lastEventNumber