This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-05
Channels
- # asami (13)
- # aws (7)
- # babashka (4)
- # beginners (16)
- # biff (7)
- # cljdoc (10)
- # clojure (32)
- # clojure-europe (27)
- # clojure-nl (14)
- # clojure-norway (7)
- # clojure-uk (3)
- # clojurescript (2)
- # conjure (2)
- # core-async (13)
- # datalevin (4)
- # datomic (3)
- # holy-lambda (7)
- # kaocha (3)
- # lsp (23)
- # off-topic (39)
- # pedestal (10)
- # portal (5)
- # practicalli (2)
- # rdf (10)
- # releases (1)
- # shadow-cljs (66)
- # tools-deps (146)
- # uncomplicate (1)
- # xtdb (10)
I'm using pipeline-blocking
to upload some files, I would like to stop the pipeline if any file fails upload. How should I do this?
you can close the from
channel in the xform
but it would be cleaner to do it at the process which consumes from to
thanks for the reassurance on the approach, I was not sure if I was doing something horrific
I like core async, it's useful, but unless I need CSP I don't reach for it. You could implement a worker pool with cancelation and other mechanisms, but that would just be reinventing the wheel. Thread pools exist already