Is there something to read? (without blocking)

Property definitions

core $ PollableReader :: poll_in
	# Is there something to read? (without blocking)
	fun poll_in: Bool is abstract
lib/core/stream.nit:516,2--517,30

core $ FileReader :: poll_in
	redef fun poll_in
	do
		var res = native_poll_in(fd)
		if res == -1 then
			last_error = new IOError(errno.to_s)
			return false
		else return res > 0
	end
lib/core/file.nit:188,2--195,4

socket $ TCPStream :: poll_in
	redef fun poll_in do return ready_to_read(0)
lib/socket/socket.nit:118,2--45

websocket $ WebsocketConnection :: poll_in
	redef fun poll_in do return origin.poll_in
lib/websocket/websocket.nit:293,2--43