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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
# -*- encoding: binary -*-
# :enddoc:
#
# 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.
#
# It's not recommended to use any of this in your applications
# unless you're willing to accept breakage.  Most of this is very
# difficult-to-use, fragile and we don't have much time to devote to
# supporting these in the future.
class Rainbows::Fiber::IO::Pipe < Kgio::Pipe
  include Rainbows::Fiber::IO::Methods
end

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