Started work on an asyncio loop for PyObjC

I’ve started work on an asyncio event loop for PyObjC. This currently can basically just run the script below, but should improve soon enough…

from objc_asyncio import _loop as loop

el = loop.EventLoop()
el.call_soon(lambda a: print(a), "hello world")
el.call_later(1.0, lambda: print("timer 1"))
el.call_later(2.0, lambda: print("timer 2"))
el.call_later(2.5, lambda: el.stop())
el.run_forever()
Ronald Oussoren @ronaldoussoren