Service router

router.py

mercure’s central router module that evaluates the routing rules and decides which series should be sent to which target.

router.exit_router(args) None[source]

Callback function that is triggered when the process terminates. Stops the asyncio event loop

router.main(args=['-b', 'html', '-d', '_build/doctrees', '.', '_build/html']) None[source]
router.run_router() None[source]

Main processing function that is called every second

async router.terminate_process(signalNumber, frame) None[source]

Triggers the shutdown of the service