When I try to call function using
yield(foo(), "completed"), runtime error appears: First argument of yield() is not of type object, but example from here shows that it should work:
print("All buttons were pressed, hurray!")
How can I call a method using yield function?
yield(b(), "completed") # error
I'm using godot 3.2.2 stable