clear abstract method

Future<void> clear()

Atomically clears the container, then disposes all the previously contained Disposables. This method can be called multiple times.

Throws DisposedException or ClearingException if this bag has been disposed or is disposing.

Implementation

Future<void> clear();