Interface ResultEvent<T>

Type Parameters:
T - the type of the result
All Known Subinterfaces:
UniqueIdDetermineTypeEvent, UniqueIdLookupEvent, UsernameLookupEvent

public interface ResultEvent<T>
Represents an event that has a result.
Since:
5.3
  • Method Details

    • result

      Gets an AtomicReference containing the result.
      Returns:
      the result
    • hasResult

      default boolean hasResult()
      Gets if a result has been set for the event.
      Returns:
      if there is a result