Ice.initialize¶
- Ice.initialize(args: list[str] | None = None, eventLoop: AbstractEventLoop | None = None, initData: InitializationData | None = None) Communicator¶
Creates a new communicator. This function is provided for backwards compatibility. New code should call the
Communicatorconstructor directly.- Parameters:
eventLoop (asyncio.AbstractEventLoop, optional) – An asyncio event loop used to run coroutines and wrap futures. This argument and the initData argument are mutually exclusive.
initData (InitializationData, optional) – Options for the new communicator. This argument and the args argument are mutually exclusive.
- Returns:
The new communicator.
- Return type: