work

Bounded, transport-independent progress and timing for backup workers.

async bedrock_server_manager.backups.work.backup_worker(target, *args, **kwargs)

Bridge a worker’s coarse stages to its existing managed task.

bedrock_server_manager.backups.work.tree_paths(root, cancellation_event=None)

Check cancellation while enumerating large trees, before collecting them.

class bedrock_server_manager.backups.work.FileWork(operation, stage_callback=None)

Aggregate filesystem timings and throttle metadata-only progress updates.