Package ghidra.async

# Class AsyncReference.DebouncedAsyncReference<T,C>

java.lang.Object
ghidra.async.AsyncReference<T,C>
ghidra.async.AsyncReference.DebouncedAsyncReference<T,C>

Enclosing class:
  `AsyncReference<T,C>`

protected static class AsyncReference.DebouncedAsyncReference<T,C> extends AsyncReference<T,C>

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class ghidra.async.AsyncReference

  `AsyncReference.ChangeRecord<T,C>, AsyncReference.DebouncedAsyncReference<T,C>, AsyncReference.FilterFunction<T,C>`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DebouncedAsyncReference(AsyncReference<T,C> from, AsyncTimer timer, long windowMillis)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `set(T t, C cause)`
  Update this reference to the given value because of the given cause

  ### Methods inherited from class ghidra.async.AsyncReference

  `addChangeListener, compute, debounced, dispose, filter, filterAndSet, get, getAndClearChangePromise, getAndRemoveUntils, getAndRemoveWaitFor, invokeListeners, invokePromise, invokeWaitFor, invokeWaitUntils, removeChangeListener, waitChanged, waitUntil, waitValue`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DebouncedAsyncReference

    public DebouncedAsyncReference(AsyncReference<T,C> from, AsyncTimer timer, long windowMillis)

- ## Method Details

  - ### set

    public boolean set(T t, C cause)
    Description copied from class: `AsyncReference`
    Update this reference to the given value because of the given cause
    Overrides:
      `set` in class `AsyncReference<T,C>`
    Parameters:
      `t` - the proposed value (subject to the filter)
      `cause` - the cause, often `null`
    Returns:
      true if the value of this reference changed (post filter)