rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob 61c451dab1ef0116050444e0ade28eddb78c3b3e 309 bytes (raw)
$ git show v2.0.0:lib/rainbows/fiber/io/socket.rb	# shows this blob on the CLI

1
2
3
4
5
6
7
 
# -*- encoding: binary -*-
# A Fiber-aware Socket class, gives users the illusion of a synchronous
# interface that yields away from the current Fiber whenever
# the underlying descriptor is blocked on reads or write
class Rainbows::Fiber::IO::Socket < Kgio::Socket
  include Rainbows::Fiber::IO::Methods
end

git clone https://yhbt.net/rainbows.git