swap method
Atomically replaces the delegate repository. In-flight calls finish on
their old delegate; every later call goes to repo.
Implementation
void swap(MessagingRepository repo) => _inner = repo;
Atomically replaces the delegate repository. In-flight calls finish on
their old delegate; every later call goes to repo.
void swap(MessagingRepository repo) => _inner = repo;