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 { FetchBlockedError } from './fetchTypes';
export interface FetchedValueOptions<T> {
/**
* The async function that fetches the value from the network.
*/
fetch: () => Promise<T>;
/**
* Determines whether the current cached value is stale and should be re-fetched.
* Called by {@link FetchedValue.resolve} to decide if a new fetch is needed.
*
* Before the value has been fetched for the first time, the value is always considered stale
* and this function is not called.
*/
isStale: (value: T) => boolean;
/**
* When `true`, automatically calls {@link FetchedValue.resolve} once per minute so
* the synchronous FetchedValue.value getter stays up-to-date.
*
* **Caution:** enabling this will lead to more network requests because the value
* is re-fetched periodically regardless of whether it is being read.
*/
keepCacheHot
getRetryAfterMs error
_value
_hasFetched
_inflightFetch
_blockedFailure error until returnCachedValue
_generation
_disposed
_keepCacheHotTimer ReturnType setInterval
_fetch
value
_getRetryAfterMs error
options FetchedValueOptions
_fetch optionsfetch
_isStale optionsisStale
_getRetryAfterMs optionsgetRetryAfterMs
optionskeepCacheHot
_keepCacheHotTimer
_value
force
force _hasFetched _value
_value
force _blockedFailure
Date _blockedFailureuntil
_blockedFailurereturnCachedValue _hasFetched
_value
_blockedFailureerror
_blockedFailure
_inflightFetch
_inflightFetch
inflightFetch _generation
_inflightFetch inflightFetch
inflightFetch
_inflightFetch inflightFetch
_inflightFetch
_generation
_value
_hasFetched
_inflightFetch
_blockedFailure
_disposed
_generation
_value
_hasFetched
_inflightFetch
_blockedFailure
_fetch
_keepCacheHotTimer
_keepCacheHotTimer
_keepCacheHotTimer
generation
newValue _fetch
generation _generation
_value newValue
_hasFetched
_blockedFailure
newValue
err
retryAfterMs err errretryAfterMs _getRetryAfterMserr
generation _generation retryAfterMs retryAfterMs
returnCachedValue err
_blockedFailure error err until Date retryAfterMs returnCachedValue
returnCachedValue _hasFetched
_value
err
_disposed