MCPcopy Create free account
hub / github.com/astercloud/aster / EmitMonitor

Method EmitMonitor

pkg/events/bus.go:291–293  ·  view source on GitHub ↗

EmitMonitor 发送Monitor事件

(event any)

Source from the content-addressed store, hash-verified

289
290// EmitMonitor 发送Monitor事件
291func (eb *EventBus) EmitMonitor(event any) types.AgentEventEnvelope {
292 return eb.emit(types.ChannelMonitor, event)
293}
294
295// Subscribe 订阅指定通道的事件(返回channel)
296func (eb *EventBus) Subscribe(channels []types.AgentChannel, opts *types.SubscribeOptions) <-chan types.AgentEventEnvelope {

Callers 8

mainFunction · 0.95
TestAgentEventBusFunction · 0.80
EnterPlanModeMethod · 0.80
PushEventMethod · 0.80
processMessagesMethod · 0.80
runModelStepMethod · 0.80
setBreakpointMethod · 0.80
handleStreamResponseMethod · 0.80

Calls 1

emitMethod · 0.95

Tested by 1

TestAgentEventBusFunction · 0.64