caproto.server.run

caproto.server.run(pvdb, *, module_name='caproto.asyncio.server', interfaces=None, log_pv_names=False, startup_hook=None)[source]

Run an IOC, given its PV database dictionary and async-library module name.

Parameters
pvdbdict

The PV database dictionary.

module_namestr, optional

The async library module name. Defaults to using asyncio.

interfaceslist, optional

List of interfaces to listen on.

log_pv_namesbool, optional

Log PV names at startup.

startup_hookcoroutine, optional

Hook to call at startup with the async_lib shim.