MCPcopy Index your code
hub / github.com/docker/docker-agent / EmitMessageAdded

Method EmitMessageAdded

pkg/runtime/tool_dispatch.go:105–107  ·  view source on GitHub ↗
(sessionID string, msg *session.Message, agentName string)

Source from the content-addressed store, hash-verified

103}
104
105func (e *sinkEmitter) EmitMessageAdded(sessionID string, msg *session.Message, agentName string) {
106 e.events.Emit(MessageAdded(sessionID, msg, agentName))
107}
108
109// hookDispatcher adapts the runtime's per-agent [hooks.Executor] machinery
110// into the small [toolexec.HookDispatcher] interface. The events channel

Callers

nothing calls this directly

Calls 2

MessageAddedFunction · 0.85
EmitMethod · 0.65

Tested by

no test coverage detected