Interface Stream

    • Method Detail

      • state

        @NonNull
        Stream.State state()
        Informs about current stream state.
        Returns:
        current stream state
      • openSink

        @NonNull
        Stream.Sink openSink​(@NonNull
                             Stream.Sink.Config config)
        Opens a sink from this stream.
        Parameters:
        config - configuration of the sink to be opened
        Returns:
        a new sink instance, configured as specified