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: packages/action-listener-middleware/README.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,6 @@ middleware.removeListener({
201
201
A standard RTK action creator that tells the middleware to dynamically add a new listener at runtime. It accepts exactly the same options as `middleware.addListener()`
202
202
203
203
Dispatching this action returns an `unsubscribe()` callback from `dispatch`.
204
-
It throws error if listener is not a function.
205
204
206
205
```js
207
206
// Per above, provide `predicate` or any of the other comparison options
0 commit comments