Skip to content

Commit

Permalink
SendCtx utilization
Browse files Browse the repository at this point in the history
  • Loading branch information
teivah committed Feb 24, 2020
1 parent 3b8f824 commit 5c07e48
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 79 deletions.
2 changes: 1 addition & 1 deletion observable.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func runPar(ctx context.Context, next chan Item, iterable Iterable, operatorFact
case item, ok := <-observe:
if !ok {
if !bypassGather {
gather <- Of(op)
Of(op).SendCtx(ctx, gather)
}
return
}
Expand Down
Loading

0 comments on commit 5c07e48

Please sign in to comment.