Add CoreFoundationEventLoop directly to avoid pulling in ALL of PyObjC

This commit is contained in:
Danielle McLean 2023-11-27 10:43:24 +11:00
parent dae3e49783
commit da90e64dac
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
4 changed files with 190 additions and 0 deletions

View file

@ -0,0 +1 @@
from .eventloop import CoreFoundationEventLoop as CoreFoundationEventLoop

View file

@ -0,0 +1,4 @@
import asyncio
class CoreFoundationEventLoop(asyncio.SelectorEventLoop):
def __init__(self, console_app: bool = ..., *eventloop_args) -> None: ...