Sha256: d9cb2762b8e950394d7600c117291856c67dd250c450859aa5461937f606a179
Contents?: true
Size: 508 Bytes
Versions: 28
Compression:
Stored size: 508 Bytes
Contents
# encoding: utf-8 class ZMQ::Poller # API sugar to poll non-blocking. Returns immediately if there's no items in a ready state. # def poll_nonblock poll(0) end # API sugar for registering a ZMQ::Socket or IO for readability # def register_readable(pollable) register ZMQ::Pollitem.new(pollable, ZMQ::POLLIN) end # API sugar for registering a ZMQ::Socket or IO for writability # def register_writable(pollable) register ZMQ::Pollitem.new(pollable, ZMQ::POLLOUT) end end
Version data entries
28 entries across 28 versions & 1 rubygems