rubicon.objc.eventloop
— Integrating native event loops with asyncio
¶
Note
The documentation for this module is incomplete. You can help by contributing to the documentation.
- class rubicon.objc.eventloop.EventLoopPolicy¶
Rubicon event loop policy.
In this policy, each thread has its own event loop. However, we only automatically create an event loop by default for the main thread; other threads by default have no event loop.
- new_event_loop()¶
Create a new event loop and return it.
- get_default_loop()¶
Get the default event loop.
- get_child_watcher()¶
Get the watcher for child processes.
If not yet set, a
SafeChildWatcher
object is automatically created.
- set_child_watcher(watcher)¶
Set the watcher for child processes.