ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { timeout } from '../../../base/common/async.js';
import { CancellationTokenSource } from '../../../base/common/cancellation.js';
import { Emitter } from '../../../base/common/event.js';
import { Disposable, dispose, IDisposable, toDisposable } from '../../../base/common/lifecycle.js';
import { ILogService } from '../../log/common/log.js';
/**
* A helper class to track requests that have replies. Using this it's easy to implement an event
* that accepts a reply.
*/
export class RequestStore<T, RequestArgs> extends Disposable {
private _lastRequestId
_timeout
_pendingRequests Map resolved
_pendingRequestDisposables Map IDisposable
_onCreateRequest
onCreateRequest _onCreateRequestevent
timeout
_logService ILogService
_timeout timeout timeout
d _pendingRequestDisposables
d
args RequestArgs
resolve reject
requestId _lastRequestId
_pendingRequestsrequestId resolve
_onCreateRequest requestId args
tokenSource
_timeout tokenSourcetoken
_pendingRequestDisposablesrequestId tokenSource
requestId data
resolveRequest _pendingRequestsrequestId
resolveRequest
_pendingRequestsrequestId
_pendingRequestDisposablesrequestId
_pendingRequestDisposablesrequestId
data
_logService