Пример #1
0
 .receive("timeout", () => Logger.info("Push: Networking issue..."));
Пример #2
0
 .receive("error", (reasons) => Logger.info("Push: create failed", reasons))
Пример #3
0
 .receive("timeout", () => {
   Logger.info("Channel: Networking issue. Still waiting...");
   reject("Channel: The connection timed out.");
 });
Пример #4
0
 .receive("ok", (msg) => Logger.info("Push: created message. Received response of: ", msg))
Пример #5
0
 .receive("error", ({reason}) => {
   Logger.info(`Channel: Failed to join ${this.model.topic}` , reason);
   reject(reason);
 })