Versions in this module Expand all Collapse all v3 v3.80.13 Sep 25, 2024 v3.80.12 Sep 24, 2024 Changes in this version + var ErrAlreadyClosed = xerrors.Wrap(errors.New("ydb: background worker already closed")) + type CallbackFunc func(ctx context.Context) + type Worker struct + func NewWorker(parent context.Context, name string) *Worker + func (b *Worker) Close(ctx context.Context, err error) error + func (b *Worker) CloseReason() error + func (b *Worker) Context() context.Context + func (b *Worker) Done() <-chan struct{} + func (b *Worker) Start(name string, f CallbackFunc) + func (b *Worker) StopDone() <-chan empty.Struct