Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAlreadyClosed = xerrors.Wrap(errors.New("ydb: background worker already closed"))
)
Functions ¶
This section is empty.
Types ¶
type CallbackFunc ¶ added in v3.38.4
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
A Worker must not be copied after first use
func (*Worker) CloseReason ¶ added in v3.38.0
func (*Worker) Start ¶
func (b *Worker) Start(name string, f CallbackFunc)
Click to show internal directories.
Click to hide internal directories.