The Wayback Machine - https://web.archive.org/web/20200705192407/https://github.com/topics/term
Skip to content
#

term

Here are 50 public repositories matching this topic...

jcarpanelli
jcarpanelli commented Jun 4, 2019

Instead of setting a spinner as succeed/fail using the spinners#fail and spinner#succeed methods, it would be great if spinnies could do this automatically when sending a promise as an option:

spinnies.add('spinner-1', { 
  text: 'Doing X..',
  onPromise: {
    promise: someFunction(arg1, arg2), 
    succeed: { 
      text: 'X succeeded',
      color: 'greenBright'
    },
 

Improve this page

Add a description, image, and links to the term 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 term topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.