File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1610
1610
(def-async-for-dual run-after-both )
1611
1611
1612
1612
1613
- (defn- apply-to-either [d other ^java.util.function. Function f]
1613
+ (defn- apply-to-either [d other ^Function f]
1614
1614
(assert-some other f)
1615
1615
(then-apply (alt d other) f))
1616
1616
1617
1617
(def-async-for-dual apply-to-either )
1618
1618
1619
1619
1620
- (defn- accept-either [d other ^java.util.function. Function f]
1620
+ (defn- accept-either [d other ^Function f]
1621
1621
(assert-some other f)
1622
1622
(then-accept (alt d other) f))
1623
1623
1624
1624
(def-async-for-dual accept-either )
1625
1625
1626
1626
1627
- (defn- run-after-either [d other ^java.util.function. Function f]
1627
+ (defn- run-after-either [d other ^Function f]
1628
1628
(assert-some other f)
1629
1629
(then-run (alt d other) f))
1630
1630
1631
1631
(def-async-for-dual run-after-either )
1632
1632
1633
1633
1634
- (defn- then-compose [d ^java.util.function. Function f]
1634
+ (defn- then-compose [d ^Function f]
1635
1635
(assert-some f)
1636
1636
(mapcat-deferred d (fn [value] (.apply f value))))
1637
1637
1638
1638
(def-async-for then-compose )
1639
1639
1640
1640
1641
- (defn- then-handle [d ^java.util.function. BiFunction f]
1641
+ (defn- then-handle [d ^BiFunction f]
1642
1642
(assert-some f)
1643
1643
(let [d' (deferred )]
1644
1644
(on-realized
1651
1651
(def-async-for then-handle )
1652
1652
1653
1653
1654
- (defn- then-exceptionally [d ^java.util.function. Function f]
1654
+ (defn- then-exceptionally [d ^Function f]
1655
1655
(assert-some f)
1656
1656
(let [d' (deferred )]
1657
1657
(on-realized
You can’t perform that action at this time.
0 commit comments