(task: PromiseLike<T>)
| 13 | constructor(private readonly runnable: () => PromiseLike<T>) {} |
| 14 | |
| 15 | static fromTask<T>(task: PromiseLike<T>): LoadingIndicator<T> { |
| 16 | return new LoadingIndicator<T>(() => task); |
| 17 | } |
| 18 | |
| 19 | setText(text: string): LoadingIndicator<T> { |
| 20 | this.text = text; |
no outgoing calls
no test coverage detected