SendPromptAndWait is a convenience wrapper for [Session.SendAndWait] that takes a plain prompt string instead of a [MessageOptions] struct. Equivalent to: session.SendAndWait(ctx, copilot.MessageOptions{Prompt: prompt})
(ctx context.Context, prompt string)
| 519 | // |
| 520 | // session.SendAndWait(ctx, copilot.MessageOptions{Prompt: prompt}) |
| 521 | func (s *Session) SendPromptAndWait(ctx context.Context, prompt string) (*SessionEvent, error) { |
| 522 | return s.SendAndWait(ctx, MessageOptions{Prompt: prompt}) |
| 523 | } |
| 524 | |
| 525 | // On subscribes to events from this session. |
| 526 | // |
nothing calls this directly
no test coverage detected