Interface PollableOutputStreamInterface.OnIsWritable

Enclosing class:
PollableOutputStreamInterface
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 PollableOutputStreamInterface.OnIsWritable
  • Method Details

    • onIsWritable

      boolean onIsWritable(CallbackHandler __self, @Nonnull PollableOutputStream stream)
      Parameters:
      stream - a #GPollableOutputStream.
      Returns:
      %TRUE if @stream is writable, %FALSE if not. If an error has occurred on @stream, this will result in g_pollable_output_stream_is_writable() returning %TRUE, and the next attempt to write will return the error.