001dbefbcf
because it becomes hard to remember where you used them and where not
15 lines
483 B
JavaScript
15 lines
483 B
JavaScript
export class PendingEvent {
|
|
constructor(data) {
|
|
this._data = data;
|
|
}
|
|
|
|
get roomId() { return this._data.roomId; }
|
|
get queueIndex() { return this._data.queueIndex; }
|
|
get eventType() { return this._data.eventType; }
|
|
get txnId() { return this._data.txnId; }
|
|
get remoteId() { return this._data.remoteId; }
|
|
set remoteId(value) { this._data.remoteId = value; }
|
|
get content() { return this._data.content; }
|
|
get data() { return this._data; }
|
|
}
|