caproto.asyncio.server.run

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

Run an IOC, given its PV database dictionary.

A synchronous function that wraps start_server and exits cleanly.

Parameters
pvdbdict

The PV database.

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.