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
@@ -263,6 +274,7 @@ An object with the following properties (Type def above):
263
274
- $read - A readonly reactive reference to the current value of the subscription.
264
275
- $addSub - A method for adding a subscriber to the subscription. It can be `async`. The subscriber is a function that will be executed whenever the value of the subscription changes. It can take the new value of the subscription as its argument.
265
276
- $deleteSub - A method for removing a subscriber from the subscription.
277
+
- $clearSubs - A method for clearing all subscribers.
266
278
- $triggerSubs - A method for manually triggering all subscribers. Should only be needed rarely.
267
279
- $mutate - A method for updating the value of the subscription with a function that takes the current value as its argument and returns the new value. This should only be used for updating complex objects.
0 commit comments