amqp.utils¶
-
amqp.utils.get_errno(exc)¶ socket.errorandIOErrorfirst got the.errnoattribute in Py2.7
-
amqp.utils.noop()¶
-
class
amqp.utils.promise(fun, args=(), kwargs=(), on_success=None, on_error=None)¶ -
args¶
-
calls¶
-
failed¶
-
fun¶
-
kwargs¶
-
on_error¶
-
on_success¶
-
ready¶
-
set_error_state(exc)¶
-
then(callback=None, on_error=None)¶
-
throw(exc)¶
-
value¶
-
-
amqp.utils.set_cloexec(fd, cloexec)¶