Login

Willkomen zurück, bitte gebe deine Zugangsdaten ein!

Passwort vergessen

Anmeldung erfolgt in Kürze...
Fleebs-Logo
Details werden geladen...

Letting other nodes do stuf while one function node is working on a recursive search - General - Node-RED Forum

I'm implementing a recursive search in a Function node in Node-RED. The idea is to load directory listings in a loop and recursively search through all subfolders by calling the same function for each directory. However, since the search can involve a large number of files and folders, I'd like to be able to abort it while it's running. I initially tried using a flow variable for this. Another node would set the variable to true, and the recursive function would check its value on each call. ...