MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / discardStreamChunks

Function discardStreamChunks

sdk/cliproxy/auth/conductor.go:1646–1654  ·  view source on GitHub ↗
(ch <-chan cliproxyexecutor.StreamChunk)

Source from the content-addressed store, hash-verified

1644}
1645
1646func discardStreamChunks(ch <-chan cliproxyexecutor.StreamChunk) {
1647 if ch == nil {
1648 return
1649 }
1650 go func() {
1651 for range ch {
1652 }
1653 }()
1654}
1655
1656type streamBootstrapError struct {
1657 cause error

Callers 2

wrapStreamResultMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected