return Promise.resolve(active);
}
// Entry is inside its grace window after the last registration
agentHostFileSystemProvider.ts
// was disposed. Wait until either a new registration arrives
// (resolve) or the grace timer expires and evicts the entry
// (reject).
return new Promise((resolve, reject) => {
const settle = (): void => {
const current = this._authorities.get(authority);
if (!current) {
sub.dispose();
reject(createFileSystemProviderError(