synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
25 lines (24 loc) • 507 B
JavaScript
import e from "./JsonRxMessage.js";
const s = 8;
class h extends e {
methodName;
payload;
getMethodName() {
return this.methodName;
}
getPayload() {
return this.payload;
}
constructor(t, o) {
super(s), this.methodName = t, this.payload = o;
}
getJson() {
const t = [this.typeCode, this.methodName];
return this.payload !== void 0 && t.push(this.payload), t;
}
}
export {
s as NOTIFICATION_TYPE_CODE,
h as default
};
//# sourceMappingURL=JsonRxNotification.js.map