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:
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.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
|
||||
|
|
Loading…
Add table
Reference in a new issue