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 { CancellationToken } from '../../../../base/common/cancellation.js';
import { Event } from '../../../../base/common/event.js';
import { createDecorator } from '../../../../platform/instantiation/common/instantiation.js';
export const ILifecycleService = createDecorator<ILifecycleService>('lifecycleService');
/**
* An event that is send out when the window is about to close. Clients have a chance to veto
* the closing by either calling veto with a boolean "true" directly or with a promise that
* resolves to a boolean. Returning a promise is useful in cases of long running operations
* on shutdown.
*
* Note: It is absolutely important to avoid long running promises if possible. Please try hard
* to return a boolean directly. Returning a promise has quite an impact on the shutdown sequence!
*/
export interface BeforeShutdownEvent {
/**
* The reason why the application will be shutting down.
*/
reason ShutdownReason
value id
id
reason ShutdownReason
error Error
WillShutdownJoinerOrder
Default
Last
id
label
order WillShutdownJoinerOrder
order WillShutdownJoinerOrderDefault
order WillShutdownJoinerOrderLast
reason ShutdownReason
token CancellationToken
promise joiner IWillShutdownEventDefaultJoiner
promiseFn joiner IWillShutdownEventLastJoiner
IWillShutdownEventJoiner
ShutdownReason
StartupKind
NewWindow
ReloadedWindow
ReopenedWindow
startupKind StartupKind
startupKind
StartupKindNewWindow
StartupKindReloadedWindow
StartupKindReopenedWindow
LifecyclePhase
Starting
Ready
Restored
Eventually
phase LifecyclePhase
phase
LifecyclePhaseStarting
LifecyclePhaseReady
LifecyclePhaseRestored
LifecyclePhaseEventually
_serviceBrand
startupKind StartupKind
phase LifecyclePhase
onBeforeShutdown EventBeforeShutdownEvent
onShutdownVeto Event
onBeforeShutdownError EventBeforeShutdownErrorEvent
onWillShutdown EventWillShutdownEvent
willShutdown
onDidShutdown Event
phase LifecyclePhase