invoke
operator fun invoke(createConfig: MonitoringConfigFactory<Config>.() -> Config): MonitoringMessageHandler
Creates a new MonitoringMessageHandler using the provided configuration.
Return
A new instance of MonitoringMessageHandler configured according to the provided createConfig lambda.
Parameters
createConfig
A lambda that returns a Config object.