(callback: (obj: T) => Return)
| 106 | } |
| 107 | |
| 108 | with<Return>(callback: (obj: T) => Return): Return | Promise<Return> { |
| 109 | if (this._dapDeferred.hasSettled()) { |
| 110 | return callback(this._obj); |
| 111 | } else { |
| 112 | return this._dapDeferred.promise.then(obj => callback(obj)); |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | export class Thread implements IVariableStoreDelegate { |
no test coverage detected