"functions" in Bubble... returning a value from reusable element workflow

But custom events don’t have a return value.

We’ll need to use custom states to store those return values.

Is this 100% reliable in terms of dependency? i.e when the custom event exits, the custom states will definitely be populated? I didn’t have a good experience with depending on custom states.