Skip to content

Commit

Permalink
Update src/ketu/async/source.clj
Browse files Browse the repository at this point in the history
Co-authored-by: Yevgeni Tsodikov <[email protected]>
  • Loading branch information
yaronthurm and evg-tso authored Dec 29, 2022
1 parent 9ca6f71 commit a27a162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ketu/async/source.clj
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
->data (->data-fn opts)
put! (fn [record] (put-or-abort-pending! out-chan (->data record) abort-pending-put))

maybe-execute-custom-command (if commands-chan
maybe-execute-custom-command (if (some? commands-chan)
(fn [] (when-let [command (async/poll! commands-chan)]
(command {:ketu.source/consumer consumer})))
(fn []))
Expand Down

0 comments on commit a27a162

Please sign in to comment.