caproto.curio.server.run

caproto.curio.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 runs server, catches KeyboardInterrupt at exit.

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.