Skip to content

Commit 217647b

Browse files
committed
Add DoNotContinue method
1 parent 922f752 commit 217647b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/StateR/DispatchContext.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,11 @@ public DispatchContext(TAction action, IDispatcher dispatcher)
1717
public bool StopInterception { get; set; }
1818
public bool StopAfterEffect { get; set; }
1919

20+
public void DoNotContinue()
21+
{
22+
StopAfterEffect = true;
23+
StopInterception = true;
24+
StopReduce = true;
25+
}
2026
}
2127
}

0 commit comments

Comments
 (0)