MCPcopy Create free account
hub / github.com/modelcontextprotocol/go-sdk / callProgressNotificationHandler

Method callProgressNotificationHandler

mcp/server.go:1082–1087  ·  view source on GitHub ↗
(ctx context.Context, p *ProgressNotificationParams)

Source from the content-addressed store, hash-verified

1080}
1081
1082func (ss *ServerSession) callProgressNotificationHandler(ctx context.Context, p *ProgressNotificationParams) (Result, error) {
1083 if h := ss.server.opts.ProgressNotificationHandler; h != nil {
1084 h(ctx, serverRequestFor(ss, p))
1085 }
1086 return nil, nil
1087}
1088
1089// NotifyProgress sends a progress notification from the server to the client
1090// associated with this session.

Callers

nothing calls this directly

Calls 1

serverRequestForFunction · 0.85

Tested by

no test coverage detected