unscheduleSerializationFor method

  1. @protected
  2. @visibleForTesting
void unscheduleSerializationFor(
  1. RestorationBucket bucket

Called by a RestorationBucket to unschedule a request for serialization.

This method is called by a bucket in the hierarchy whenever it no longer needs to be serialized (e.g. because the bucket got disposed).

It is safe to call this even when the bucket wasn't scheduled for serialization before.

It is exposed to allow testing of RestorationBuckets in isolation.


void unscheduleSerializationFor(RestorationBucket bucket) {
  assert(bucket._manager == this);