MCPcopy
hub / github.com/nats-io/nats.go / Close

Method Close

object.go:1324–1331  ·  view source on GitHub ↗

Close impl.

()

Source from the content-addressed store, hash-verified

1322
1323// Close impl.
1324func (o *objResult) Close() error {
1325 o.Lock()
1326 defer o.Unlock()
1327 if o.r == nil {
1328 return nil
1329 }
1330 return o.r.Close()
1331}
1332
1333func (o *objResult) setErr(err error) {
1334 o.Lock()

Callers 5

GetMethod · 0.45
GetBytesMethod · 0.45
GetStringMethod · 0.45
PutFileMethod · 0.45
GetFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected