0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

💄 Minor cosmetic changes on vertx.core ns.

This commit is contained in:
Andrey Antukh 2020-01-14 13:13:35 +01:00
parent e42ccf932e
commit 625ad7f4b7

View file

@ -13,6 +13,7 @@
io.vertx.core.Context
io.vertx.core.DeploymentOptions
io.vertx.core.Future
io.vertx.core.Promise
io.vertx.core.Handler
io.vertx.core.Verticle
io.vertx.core.Vertx
@ -157,7 +158,7 @@
(vreset! vsm instance)
(vreset! ctx context))
(getVertx [_] @vsm)
(^void start [_ ^Future o]
(^void start [_ ^Promise o]
(-> (p/do! (on-start @ctx))
(p/handle (fn [state error]
(if error
@ -168,7 +169,7 @@
(when (map? state)
(vswap! lst merge state))
(.complete o)))))))
(^void stop [_ ^Future o]
(^void stop [_ ^Promise o]
(p/handle (p/do! (on-stop @ctx @lst))
(fn [_ err]
(if err