then

abstract fun then(onFulfilled: (progress: LoadBundleTaskProgress) -> Unit, onRejected: (error: JsAny) -> Unit): Promise<JsAny?>(source)