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
It would be nice to add an option to the set method which will make is so that the value isn't subsequently published over subscriptions if the value didn't actually change:
datastore.subscribe("data",console.log);datastore.set("data",true);// prints truedatastore.set("data",true,{no_republish:true});// prints nothingdatastore.set("data",true);// prints truedatastore.set("data",false);// prints false
The text was updated successfully, but these errors were encountered:
It would be nice to add an option to the set method which will make is so that the value isn't subsequently published over subscriptions if the value didn't actually change:
The text was updated successfully, but these errors were encountered: