(fn: () => void)
| 206 | } |
| 207 | |
| 208 | export function toDisposable(fn: () => void): IDisposable { |
| 209 | return new FunctionDisposable(fn); |
| 210 | } |
| 211 | |
| 212 | export function combinedDisposable(...disposables: IDisposable[]): IDisposable { |
| 213 | const parent = toDisposable(() => dispose(disposables)); |
no outgoing calls
no test coverage detected