Skip to content
#

spinner

Here are 396 public repositories matching this topic...

Kolobok12309
Kolobok12309 commented Jan 14, 2020

Mb for nuxt asyncData api, because waitFor not working for this
Something like this

export default function (waiter, func) {
  return async (...args) => {
    const { app } = args[0];

    try {
      app.wait.start(waiter);
      return await func.apply(this, args);
    } finally {
      app.wait.end(waiter);
    }
  };
};

Or if vue-wait have this function, sorry a

Improve this page

Add a description, image, and links to the spinner topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the spinner topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.