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.
rubicon.objc.eventloop.EventLoopPolicy
¶
EventLoopPolicy()
Bases: AbstractEventLoopPolicy
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.
DEPRECATED - Python 3.14 deprecated the concept of manually creating
EventLoopPolicies. Create and use a RubiconEventLoop instance instead of
installing an event loop policy and calling asyncio.new_event_loop().
get_child_watcher
¶
get_child_watcher()
Get the watcher for child processes.
If not yet set, a
SafeChildWatcher
object is automatically created.
Note
Child watcher support was removed in Python 3.14
set_child_watcher
¶
set_child_watcher(watcher)
Set the watcher for child processes.
Note
Child watcher support was removed in Python 3.14
rubicon.objc.eventloop.CocoaLifecycle
¶
CocoaLifecycle(application)