# LoadingController synchronous

**URL:** <https://forum.ionicframework.com/t/loadingcontroller-synchronous/166609>\
**Category:** Ionic Framework\
**Created:** [June 19, 2019, 6:25am UTC](https://forum.ionicframework.com/t/loadingcontroller-synchronous/166609 "2019-06-19T06:25:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsbschild](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@vsbschild](https://forum.ionicframework.com/u/vsbschild)\
**Post date:** [June 19, 2019, 6:25am UTC](https://forum.ionicframework.com/t/loadingcontroller-synchronous/166609/1 "2019-06-19T06:25:57Z")

</div>

In `Ionic 3` I have used the `LoadingController` after each button got clicked, so that the button was “blocked” for more requests and the app user can see “the process is working…”. In Ionic 4 the `LoadingController` is asnychronous. So i can’t use it in this way, any tricks what I could do?

```auto
  async presentLoading(text) {
   this.loading = await this.loadingCtrl.create({
      message: text,
      duration: 40000
    });
    await this.loading.present();

    const { role, data } = await this.loading.onDidDismiss();

    console.log('Loading dismissed!');
  }

```
