Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration Messages

租户 appStatus 事件说明

核心事件: Loading → Ready → Error

  • Loading: 正在加载
  • Ready: 环境可用( 但不保证容器激活 ), ready 后所有 API 可用.
  • Error 有各种可能, 见下面示例处理
  • Online: SDK从离线恢复到上线.
  • Offline: SDK掉线
  • StatusChanged: INACTIVE → ACTIVE 之间的切换
  • PlaygroundChanged: 切换题目环境完成
  • LspStatusChanged: 补全可用状态的变化
  • RunStatusChanged: 运行结果的状态

Index

Enumeration Members

AppendToConsole: "appendToConsole"
AppendToTerminal: "appendToTerminal"
ApplicationAvailable: "ApplicationAvailable"
AuthorizationFailed: "authorizationFailed"
ConnectionBroken: "connectionBroken"
ConnectionFailed: "connectionFailed"
ErrorFromServer: "errorFromServer"
FileContentChanged: "fileContentChanged"
FileStructureChanged: "fileStructureChanged"
FileStructureDamaged: "fileStructureDamaged"
Following: "following"
Loading: "loading"
LspStatusChanged: "lspStatusChanged"
Offline: "offline"
Online: "online"
PlaybackInfo: "playbackInfo"
PlaygroundChanged: "playgroundChanged"
Ready: "ready"
ReplayEnd: "ReplayEnd"
ReplayStart: "ReplayStart"
RunStatusChanged: "runStatusChanged"
StatusChanged: "statusChanged"
UnFollowing: "unFollowing"
UserEnter: "userEnter"
UserLeave: "userLeave"
UsersUpdated: "usersUpdated"

Generated using TypeDoc