Open
Description
If I do a listen:
CSKey deviceKey = CSKey.fromString("a.b.c");
Subscription subscription = csApp.listen(deviceKey)
.subscribe(response -> Log.d("tag", response));
Then later I unsubscribe to that subscription:
deviceKey.unsubscribe();
Then the data at "a.b.c" changes a few times
Then I resubscribe to "a.b.c":
CSKey deviceKey = CSKey.fromString("a.b.c");
Subscription subscription = csApp.listen(deviceKey)
.subscribe(response -> Log.d("tag", response));
In the subscribe callback for my new subscription I will receive the value at "a.b.c" at the time of my initial unsubscription, and then will also receive the current value at "a.b.c". I only want to receive the current value upon resubscription of a path.
Metadata
Metadata
Assignees
Labels
No labels