MCPcopy Index your code
hub / github.com/coder/coder / publishRetry

Method publishRetry

coderd/x/chatd/chatd.go:5620–5631  ·  view source on GitHub ↗
(chatID uuid.UUID, payload *codersdk.ChatStreamRetry)

Source from the content-addressed store, hash-verified

5618}
5619
5620func (p *Server) publishRetry(chatID uuid.UUID, payload *codersdk.ChatStreamRetry) {
5621 if payload == nil {
5622 return
5623 }
5624 p.publishEvent(chatID, codersdk.ChatStreamEvent{
5625 Type: codersdk.ChatStreamEventTypeRetry,
5626 Retry: payload,
5627 })
5628 p.publishChatStreamNotify(chatID, coderdpubsub.ChatStreamNotifyMessage{
5629 Retry: payload,
5630 })
5631}
5632
5633func (p *Server) publishError(chatID uuid.UUID, classified chaterror.ClassifiedError) {
5634 payload := chaterror.TerminalErrorPayload(classified)

Calls 2

publishEventMethod · 0.95