def subscribe(self, tag, fun, description=None):
self.methods[tag] = fun<EOL>self.descriptions[tag] = description<EOL>self.socket.set_string_option(nanomsg.SUB, nanomsg.SUB_SUBSCRIBE, tag)<EOL>
Subscribe to something and register a function