Skip to content

types.MessageType

canisminor1990 edited this page Apr 8, 2023 · 1 revision

Interface: MessageType

types.MessageType

消息类型定义

Table of contents

Properties

Properties

executed

executed: Object

执行完成消息

Property

执行完成的节点 ID

Property

输出值

Type declaration

Name Type
node string
output Record<string, any>

Defined in

src/types/message.ts:29


executing

executing: Object

正在执行消息

Property

正在执行的节点 ID

Type declaration

Name Type
node? string

Defined in

src/types/message.ts:17


progress

progress: Object

进度消息

Property

进度值

Property

最大值

Type declaration

Name Type
max number
value number

Defined in

src/types/message.ts:23


status

status: Object

状态消息

Property

状态信息

Property

Session ID

Type declaration

Name Type
sid? string
status { exec_info: { queue_remaining: number } }
status.exec_info { queue_remaining: number }
status.exec_info.queue_remaining number

Defined in

src/types/message.ts:12