CompleteState.ts 325 B

12345678910
  1. import { LaunchContext, LaunchState, LaunchStateId } from './LaunchState';
  2. export class CompleteState implements LaunchState {
  3. readonly id = LaunchStateId.Complete;
  4. async enter(context: LaunchContext): Promise<null> {
  5. context.progress({ state: this.id, title: '启动完成', progress: 1 });
  6. return null;
  7. }
  8. }