MCPcopy Create free account
hub / github.com/PostHog/duckgres / Close

Method Close

server/flightclient/flight_executor.go:579–594  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

577 select {
578 case <-e.ctx.Done():
579 cancel()
580 case <-ctx.Done():
581 }
582 }()
583 }
584
585 stream, err := e.client.Client.DoAction(
586 e.withSession(ctx),
587 &flight.Action{Type: waitSessionIdleAction, Body: payload},
588 )
589 if err != nil {
590 if isTerminalSessionIdleWaitError(err) {
591 return nil
592 }
593 return err
594 }
595 for {
596 _, err := stream.Recv()
597 if errors.Is(err, io.EOF) {

Callers

nothing calls this directly

Calls 2

DoMethod · 0.80
ReleaseMethod · 0.65

Tested by

no test coverage detected