function Event(eventId) {
    this.eventId = eventId;
    this.subscribers = [];
}
Sets the state of a token, usually called by a state modifier.
@param {string} key state item key
@param {any} value state item value