DoOnce firing multiple times in construction script

So in essence it is resetting. But then it also saves state? but flow is not part of that state. only things that can be serialized like data types. is that right?