mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
💄 Minor cosmetic changes on vertx.core ns.
This commit is contained in:
parent
e42ccf932e
commit
625ad7f4b7
1 changed files with 3 additions and 2 deletions
5
backend/vendor/vertx/src/vertx/core.clj
vendored
5
backend/vendor/vertx/src/vertx/core.clj
vendored
|
@ -13,6 +13,7 @@
|
||||||
io.vertx.core.Context
|
io.vertx.core.Context
|
||||||
io.vertx.core.DeploymentOptions
|
io.vertx.core.DeploymentOptions
|
||||||
io.vertx.core.Future
|
io.vertx.core.Future
|
||||||
|
io.vertx.core.Promise
|
||||||
io.vertx.core.Handler
|
io.vertx.core.Handler
|
||||||
io.vertx.core.Verticle
|
io.vertx.core.Verticle
|
||||||
io.vertx.core.Vertx
|
io.vertx.core.Vertx
|
||||||
|
@ -157,7 +158,7 @@
|
||||||
(vreset! vsm instance)
|
(vreset! vsm instance)
|
||||||
(vreset! ctx context))
|
(vreset! ctx context))
|
||||||
(getVertx [_] @vsm)
|
(getVertx [_] @vsm)
|
||||||
(^void start [_ ^Future o]
|
(^void start [_ ^Promise o]
|
||||||
(-> (p/do! (on-start @ctx))
|
(-> (p/do! (on-start @ctx))
|
||||||
(p/handle (fn [state error]
|
(p/handle (fn [state error]
|
||||||
(if error
|
(if error
|
||||||
|
@ -168,7 +169,7 @@
|
||||||
(when (map? state)
|
(when (map? state)
|
||||||
(vswap! lst merge state))
|
(vswap! lst merge state))
|
||||||
(.complete o)))))))
|
(.complete o)))))))
|
||||||
(^void stop [_ ^Future o]
|
(^void stop [_ ^Promise o]
|
||||||
(p/handle (p/do! (on-stop @ctx @lst))
|
(p/handle (p/do! (on-stop @ctx @lst))
|
||||||
(fn [_ err]
|
(fn [_ err]
|
||||||
(if err
|
(if err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue