How to check for an ongoing transaction on ESB? (ESB module is idle?)

Hello

According to Enhanced ShockBurst (ESB) documentation, to stop the ESB module you need to call esb_disable(), but it also says that you need to check if the module is idle before disabling it.

To stop the ESB module, call esb_disable(). Note, however, that if a transaction is ongoing when you disable the module, it is not completed. Therefore, you might want to check if the module is idle before disabling it.

How can I check if the module is idle? Is there a way to check if there is an ongoing transaction?

Thank you

Related