Skip to content

Commit 49cfab7

Browse files
committed
update docs type and cancelType can also be a Symbol
1 parent 865b8c8 commit 49cfab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ const fooLogic = createLogic({
4141
// optional name - used in monitor$ and error messages, the default name assigned is L(TYPE)-N where TYPE is the action type(s) and N is the index in the logic array
4242

4343
// filtering/canceling
44-
type: T, // required string, regex, array of str/regex, use '*' for all
45-
cancelType: CT, // string, regex, array of strings or regexes
44+
type: T, // required string, regex, Symbol, array of str/regex/Symbol, use '*' for all
45+
cancelType: CT, // string, regex, Symbol, array of str/regex/Symbol
4646
// type and cancelType also support redux-actions fns for which
4747
// the fn.toString() returns the associated action type
4848

0 commit comments

Comments
 (0)