Hello
I want to improve the speed of one application similar as this example.
I need to avoid http requests and continue with some stuff while the flow is doing logoff
But I observed never goes throug logout function / http request
But remember that NodeJS ( and so Node-RED ) is single threaded and event loop based and that messages will flow from the http-request node to which ever of the logout or some stuff function node was connected first. Execution will continue down that leg until the code yields, which is normally when some IO event is started.
This might be when the msg hits the last http-request node at which point control will be given to the other branch of the flow.