@arsedizioni/ars-utils 20.3.48 → 20.3.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/index.d.ts +5 -5
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +1 -3
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +1 -3
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/package.json +5 -5
|
@@ -2129,21 +2129,21 @@ class BroadcastService {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
/**
|
|
2131
2131
|
* Send a channel message
|
|
2132
|
-
* @param
|
|
2132
|
+
* @param id : the message bag
|
|
2133
2133
|
* @param delay : the number of milliseconds to wait before sending the message
|
|
2134
2134
|
*/
|
|
2135
|
-
sendChannelMessage(
|
|
2135
|
+
sendChannelMessage(id, delay) {
|
|
2136
2136
|
setTimeout(() => {
|
|
2137
|
-
this.channel.sendMessage(
|
|
2137
|
+
this.channel.sendMessage(id, delay);
|
|
2138
2138
|
}, delay);
|
|
2139
2139
|
}
|
|
2140
2140
|
/**
|
|
2141
2141
|
* Subscribe channel message
|
|
2142
|
-
* @param
|
|
2143
|
-
* @param action
|
|
2142
|
+
* @param id : the message id
|
|
2143
|
+
* @param action : the actionto perform
|
|
2144
2144
|
*/
|
|
2145
|
-
subscribeChannelMessage(
|
|
2146
|
-
this.channel.subscribe({ messageId:
|
|
2145
|
+
subscribeChannelMessage(id, action) {
|
|
2146
|
+
this.channel.subscribe({ messageId: id, action: action });
|
|
2147
2147
|
}
|
|
2148
2148
|
/**
|
|
2149
2149
|
* Get the next message as observable
|