core.async

Pausing in mix is note effective

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    org.clojure/clojure "1.8.0", org.clojure/core.async "0.3.443"

Description

The following happens when using mix:

(def c1 (to-chan (range 100 105)))
(def c2 (to-chan (range 10 15)))
(def mch (chan))
(def m (mix mch))
(admix m c1)
(admix m c2)
(toggle m {c1 {:pause true}})
=> true
(<!! mch)
=> 100
(<!! mch)
=> 101
(<!! mch)
=> 10

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: