diff --git a/stubs/txzmq/pushpull.pyi b/stubs/txzmq/pushpull.pyi new file mode 100644 --- /dev/null +++ b/stubs/txzmq/pushpull.pyi @@ -0,0 +1,15 @@ +# Stubs for txzmq.pushpull (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from txzmq.connection import ZmqConnection +from typing import Any + +class ZmqPushConnection(ZmqConnection): + socketType: Any = ... + def push(self, message: Any) -> None: ... + +class ZmqPullConnection(ZmqConnection): + socketType: Any = ... + def messageReceived(self, message: Any) -> None: ... + def onPull(self, message: Any) -> None: ...