void (@NotNull Supplier<? extends Disposable> child) { synchronized (myLock) { // avoid registering stuff on an indicator being disposed concurrently checkCanceled(); Disposer.register(this, child.get()); } }