Skip to content

Commit 8e125ca

Browse files
author
Jimmy Byrd
committed
Allowp passing of cancellationToken to Observable.taskUnfold
1 parent 52b1653 commit 8e125ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FSharp.Control.Redis.Streams.Reactive/FSharp.Control.Redis.Streams.Reactive.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module Reactive =
9999
| Order.Descending -> EntryId.CalculateNextPositionDesc
100100
| _ -> failureForMessageOrderCheck ()
101101

102-
Observable.taskUnfold(fun nextPosition -> task {
102+
Observable.taskUnfold(fun nextPosition ct -> task {
103103
let! (response : StreamEntry []) = readStream nextPosition
104104
match response with
105105
| EmptyArray ->

0 commit comments

Comments
 (0)