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

Method StreamChat

scaletest/chat/client.go:42–44  ·  view source on GitHub ↗
(ctx context.Context, chatID uuid.UUID, opts *codersdk.StreamChatOptions)

Source from the content-addressed store, hash-verified

40}
41
42func (c *sdkChatClient) StreamChat(ctx context.Context, chatID uuid.UUID, opts *codersdk.StreamChatOptions) (<-chan codersdk.ChatStreamEvent, io.Closer, error) {
43 return c.client.StreamChat(ctx, chatID, opts)
44}
45
46func (c *sdkChatClient) CreateChatMessage(ctx context.Context, chatID uuid.UUID, req codersdk.CreateChatMessageRequest) (codersdk.CreateChatMessageResponse, error) {
47 return c.client.CreateChatMessage(ctx, chatID, req)

Callers

nothing calls this directly

Calls 1

StreamChatMethod · 0.65

Tested by

no test coverage detected