You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My subscriptions are inside a conditional statement, and there are edge cases where no subscriptions are needed. In this case ready() remains false forever.
ready() should return true if there are no subscriptions, and only be set to false while fetching a subscription?
Alternatively let's add a count() so we can call subs.ready() || subs.count() === 0
The text was updated successfully, but these errors were encountered:
Bandit
changed the title
If there are no subs, then subs.ready() is always false
If there are no subscriptions, then ready() is always false
Aug 18, 2016
My subscriptions are inside a conditional statement, and there are edge cases where no subscriptions are needed. In this case
ready()
remainsfalse
forever.ready()
should returntrue
if there are no subscriptions, and only be set tofalse
while fetching a subscription?Alternatively let's add a
count()
so we can callsubs.ready() || subs.count() === 0
The text was updated successfully, but these errors were encountered: