Async Dynamo

Hi everyone,

Is it possible create async functions in dynamo? Something like Observers, for given definitions? For example: “if any node have null value, do something” Now, I have to make a one node for each segment in my definitions. I would like make a global function, one time.

Thanks.

Gather all node outputs into a single list or dictionary, and check for the desired trigger(s).

Can you do that without having to connect all those outputs?

That sounds like a horribly inefficient workaround, and not the kind of an answer one would expect on a “developers” thread. :-1:

2 Likes

If you want to monitor a state of the Dynamo Graph and nodes that are placed you might be best suited to look into the uber popular View Extension framework. Have a look around here: https://github.com/DynamoDS/Dynamo/blob/10a12d6ec7e132b0a9c18311518e89da7568558e/src/LibraryViewExtension/EventObserver.cs

1 Like

That’s what I need! I will try to implement it, thanks !