Interface PollableInputStreamInterface.OnIsReadable

Enclosing class:
PollableInputStreamInterface
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PollableInputStreamInterface.OnIsReadable
  • Method Details

    • onIsReadable

      boolean onIsReadable(CallbackHandler __self, @Nonnull PollableInputStream stream)
      Parameters:
      stream - a #GPollableInputStream.
      Returns:
      %TRUE if @stream is readable, %FALSE if not. If an error has occurred on @stream, this will result in g_pollable_input_stream_is_readable() returning %TRUE, and the next attempt to read will return the error.