Interface Query<R>

  • Type Parameters:
    R - the type of the result

    public interface Query<R>
    The Queries interface to be used with the QueryResolver
    See Also:
    EventMaid Documentation
    • Method Detail

      • result

        R result()
        Returns the result once the Query has finished or nur further Subscribers exist.
        Returns:
        the result
      • finished

        default boolean finished()
        Method to preemptive stop the delivery of a Query to its Subscribers.
        Returns:
        true if stop delivery or false otherwise