MCPcopy
hub / github.com/slimtoolkit/slim / closeAll

Function closeAll

pkg/app/sensor/monitor/composite.go:373–377  ·  view source on GitHub ↗
(cs []io.Closer)

Source from the content-addressed store, hash-verified

371}
372
373func closeAll(cs []io.Closer) {
374 for _, c := range cs {
375 errutil.WarnOn(c.Close())
376 }
377}

Callers 3

NewCompositeMonitorFunction · 0.85
StartMethod · 0.85
DoneMethod · 0.85

Calls 2

WarnOnFunction · 0.92
CloseMethod · 0.65

Tested by

no test coverage detected