Interface SuspendableList<E>

    • Method Detail

      • block

        @Deprecated
        default Guard block()
        Deprecated.
        Description copied from interface: Observable
        Prevents invalidation and change events from being emitted, until the returned guard is released.
        Specified by:
        block in interface Observable
        Returns:
        a Guard instance that can be released to resume the delivery of invalidation and change events. If this observable has been invalidated one or more times before the guard is released, a single notification is passed to invalidation and change listeners of this observable. The returned Guard is AutoCloseable, which makes it convenient to use in try-with-resources.