rainbows.git  about / heads / tags
Unicorn for sleepy apps and slow clients
blob c7ae508820ae9a48fb12ad959b7d6961ab8ba930 303 bytes (raw)
$ git show v2.1.0:lib/rainbows/fiber/io/pipe.rb	# shows this blob on the CLI

1
2
3
4
5
6
7
 
# -*- encoding: binary -*-
# A Fiber-aware Pipe 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::Pipe < Kgio::Pipe
  include Rainbows::Fiber::IO::Methods
end

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