WriteCloseAbandoner

Interfacein corecompute-sdk-go v1.10.0View source
type WriteCloseAbandoner interface {
Abandon() error
}

Extends io.WriteCloser.

WriteCloseAbandoner is an interface returned by cache insert operations. It is an io.WriteCloser that also supports abandoning the stream. When Abandon is called, the insert operation is canceled and content written is not saved into the cache.

Methods

Abandon() error

Returns

error