Class GroupedPublisher<Key,T>

java.lang.Object
io.servicetalk.concurrent.api.Publisher<T>
io.servicetalk.concurrent.api.GroupedPublisher<Key,T>
Type Parameters:
Key - Key for the group.
T - Items emitted by this Publisher.

public abstract class GroupedPublisher<Key,T> extends Publisher<T>
A group as emitted by Publisher.groupBy(Function, int) or its variants.
  • Method Details

    • key

      public final Key key()
      Returns the key for this group.
      Returns:
      Key for this group.
    • toString

      public String toString()
      Overrides:
      toString in class Object