busy

A generic display and progress for things that take time

noseglid

252,815

107

0.7.0

MIT

GitHub

This package provides the following services:

This package consumes the following services:

Busy (as always!)

An indicator which let's you know some background tasks is currently being run.

busy gif

API

In your package.json

  "consumedServices": {
    "busy": {
      "versions": {
        "^1.0.0": "consumeBusy"
      }
    }
  }

Consume the provided registry

consumeBusy(registry) {
  this.busyRegistry = registry;
}

begin(identifier, text)

Call when a long running task has begun.

this.busyRegistry.begin('packageName.uniqueIdentifier', 'Description of long running task');

end(identifier[, success])

Call to signal that the long running task has ended

this.busyRegistry.end('packageName.uniqueIdentifier')

Integrations

Feel free to add your integration to this list