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
Copy file name to clipboardExpand all lines: docs/api/smart-subscription.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ Each subscription declared in the `apollo.$subscribe` option in a component resu
9
9
-`throttle`: throttle variables updates (in ms).
10
10
-`debounce`: debounce variables updates (in ms).
11
11
-`result(data, key)` is a hook called when a result is received
12
+
-`error(error)` is a hook called when there are errors. `error` is an Apollo error object with either a `graphQLErrors` property or a `networkError` property.
0 commit comments