@coroutine
def component2(reactor, session):
 result = (yield session.call(u'com.example.add2', 2, 3))
 session.publish(u'com.example.on-hello', u'result={}'.format(result))

@ coroutine def component2 ( reactor , session ) : result = ( yield session . call ( u'com.example.add2' , 2 , 3 ) ) session . publish ( u'com.example.on-hello' , u'result={}' . format ( result ) )
a second component .