Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 935 Bytes

busy-signal.md

File metadata and controls

34 lines (25 loc) · 935 Bytes

Busy Signal

A small status bar icon to indicate that something's happening.

Busy Signal

Code Formatting and Find References automatically activate the busy signal while they're waiting for providers, but any package can consume the busy signal service.

Service API

Consume the busy signal Atom service by adding this to your package.json:

"consumedServices": {
  "atom-ide-busy-signal": {
    "versions": {
      "0.1.0": "consumeBusySignal"
    }
  }
}

Then, in your package entry point, add:

export function consumeBusySignal(busySignalService) {
  ...
}

busySignalService will be a BusySignalService object as described in atom-ide-busy-signal/lib/types.js.