diff options
Diffstat (limited to 'lib/rainbows/fiber/io/socket.rb')
-rw-r--r-- | lib/rainbows/fiber/io/socket.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rainbows/fiber/io/socket.rb b/lib/rainbows/fiber/io/socket.rb new file mode 100644 index 0000000..61c451d --- /dev/null +++ b/lib/rainbows/fiber/io/socket.rb @@ -0,0 +1,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 |