Skip to content

Commit fe85dc1

Browse files
committed
remove debug printlns
1 parent ece8c16 commit fe85dc1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎pixie/async.pxi‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
(deftype Promise [val pending-callbacks delivered?]
66
IDeref
77
(-deref [self]
8-
(println "waiting... " delivered?)
98
(if delivered?
109
val
1110
(do
@@ -15,11 +14,9 @@
1514
(st/-run-later (partial st/run-and-process k v)))))))))
1615
IFn
1716
(-invoke [self v]
18-
(println "delivering....")
1917
(assert (not delivered?) "Can only deliver a promise once")
2018
(set-field! self :val v)
2119
(set-field! self :delivered? true)
22-
(println @pending-callbacks)
2320
(doseq [f @pending-callbacks]
2421
(f v))
2522
(reset! pending-callbacks nil)

0 commit comments

Comments
 (0)