Function py_msgbus_register

Source
pub fn py_msgbus_register(
    endpoint: &str,
    handler: PythonMessageHandler,
) -> PyResult<()>
Expand description

Registers the given handler for the endpoint address.

Updates endpoint handler if already exists.

§Errors

Returns an error if endpoint is invalid.