fetchSince static method

void fetchSince(
  1. PubSub pubSub,
  2. int milissinceepoch
)

Implementation

static void fetchSince(PubSub pubSub, int milissinceepoch) {
  PhoenixChannel? phoenixChannel = channelByTopic[pubSub.getTopic()];
  if (phoenixChannel != null) {
    phoenixChannel.push("fetch", {
      "channel": pubSub.getTopic(),
      "timestamp": milissinceepoch,
    }).onReply("ok", (PushResponse pushResponse) {

    });
  }
}