import { TrackerEventType } from "../utils/constants" ; import { KeyValueSubscriptionEvent } from "./keyvaluesubscriptionevent" ; export class UserEvent extends KeyValueSubscriptionEvent { private readonly _userId : string ; constructor ( type , userId ) { super ( type , "u:" , userId ) ; this . _userId = userId ; } public get userId ( ) { return this . _userId ; } }