I want a clock scheduler which will fetch the trio receiver channel data. Code below for the same. It is not working as it seems that async/await does not work with it. Control not coming to getEventInputChannel scheduler.
class DemoApp(App):
def build(self):
Clock.schedule_interval(self.getEventInputChannel, 1)
return Builder.load_string(kv)
def getEventInputChannel(self, dt):
async def fetchEventInput():
print('inside loopssjsj')
content = await self.eventInputChannel.receive()