Skip to content

Commit e225fa8

Browse files
committedDec 28, 2022
Add warning regarding cancellation
1 parent 4f3a699 commit e225fa8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎articles/reactive-sink.md

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ The `Sink` operator uses the nested workflow to specify a reactive operation ove
99

1010
> [!Tip]
1111
> `Sink` operators are very useful to prevent side-effects from affecting the source sequence. Even if the inner sequence terminates early, or changes the timing of emitted values, these effects will not propagate to the outer sequence.
12+
13+
> [!Warning]
14+
> If the source sequence terminates, the subscription to the nested sequence will be cancelled. If the reactive operation needs to be fully asynchronous and decoupled from the main sequence, consider using @subjects to process items in a separate branch of the workflow.

0 commit comments

Comments
 (0)
Please sign in to comment.