adoptBackoff method

  1. @override
void adoptBackoff(
  1. TomBackoffPolicy policy
)
override

Adopts how long to hold off after a rate limit that stated no instant.

A no-op for a backend that never chooses a wait — a local filesystem cannot be rate-limited. Delivered by the sync scheduler whenever the sync settings change and whenever a backend joins it, so a settings change reaches a backend that already exists without the composition root having to remember to forward it.

Implementation

@override
void adoptBackoff(TomBackoffPolicy policy) => _backoff = policy;