<gh_stars>10-100
from autobahn.twisted.wamp import ApplicationSession
from twisted.internet.defer import inlineCallbacks

class App(ApplicationSession):

    @inlineCallbacks
    def onJoin(self, details):
        yield self.register(self.test, 'com.example.test')
        self.log.info('procedure successfully registered!')

    def test(self):
        pass

from autobahn.twisted.wamp import ApplicationSession
from twisted.internet.defer import inlineCallbacks

class App(ApplicationSession):

    @inlineCallbacks
    def onJoin(self, details):
        yield self.register(self.test, 'com.example.test')
        self.log.info('procedure successfully registered!')

    def test(self):
        pass