endpoint.busy
- 类型:<boolean>
当 endpoint.busy 设置为 true 时,终端将暂时拒绝创建新的会话。可读/可写。
🌐 When endpoint.busy is set to true, the endpoint will temporarily reject
new sessions from being created. Read/write.
// Mark the endpoint busy. New sessions will be prevented.
endpoint.busy = true;
// Mark the endpoint free. New session will be allowed.
endpoint.busy = false; busy 属性在终端负载很高且需要在赶上进度时暂时拒绝新会话时非常有用。
🌐 The busy property is useful when the endpoint is under heavy load and needs to
temporarily reject new sessions while it catches up.