File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export interface BusySignalOptions {
1515 revealTooltip ?: boolean
1616}
1717
18+ // atom-ide-busy-signal service
1819export interface BusySignalService {
1920 // Activates the busy signal with the given title and returns the promise
2021 // from the provided callback.
@@ -37,3 +38,16 @@ export interface BusyMessage {
3738 // Dispose of the signal when done to make it go away.
3839 dispose ( ) : void
3940}
41+
42+ // busy-signal service
43+ export interface BusySignalRegistry {
44+ create ( ) : BusySignalProvider
45+ }
46+
47+ // busy-signal service
48+ export interface BusySignalProvider {
49+ add ( message : string ) : void
50+ remove ( message : string ) : void
51+ clear ( ) : void
52+ dispose ( ) : void
53+ }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export * from "./hyperclick"
1111export * from "./outline"
1212export * from "./sig-help"
1313
14+ import { BusySignalProvider } from "./busy-signal.d"
1415import { CodeActionProvider } from "./code-actions"
1516import { CodeHighlightProvider } from "./code-highlight"
1617import { AnyDatatipProvider } from "./datatip"
@@ -28,6 +29,7 @@ export interface ProviderCommon {
2829
2930export type Provider =
3031 | ProviderCommon
32+ | BusySignalProvider
3133 | CodeActionProvider
3234 | CodeHighlightProvider
3335 | AnyDatatipProvider
You can’t perform that action at this time.
0 commit comments