miniproto.event_loop.backend
miniproto.event_loop.backend
Section titled “miniproto.event_loop.backend”backend() -> ModuleType | NoneLoad and return the optimized backend module when it is available.
Returns:
ModuleType | None– The cached import of the platform-selected backend, orNonewhenModuleType | None– that package is not installed.
Raises:
Exception– Propagates an import failure raised inside the backend rather than treating a broken installation as unavailable.