function run(cb, cb2?): Promise<any> | any
cb
(app) => any
app
any
cb2?
cb2
(app) => Promise<any>
Promise
Promise<any> | any