How to know when the build is complete on a Node Shader

When creating a node material, is there a way to determine if the build has completed?

I have a use case where I am creating the node material dynamically during runtime and would like to know when it is ready to be rendered.

@Evgeni_Popov is the king of NME

I also guess onBuildObservable might be what you are looking for

Thanks, I will give that a shot.