<!-- Thanks for contacting us! Please read and follow these instructions carefully, then you can delete this introductory text. Note that the issue tracker is NOT the place for usage questions and technical assistance; post those at [Discourse](https://discourse.holoviz.org) instead. Issues without the required information below may be closed immediately. --> #### ALL software version info <details> <summary>Software Version Info</summary> ```plaintext python 3.11.9 param 2.2.0 ``` </details> #### Description of expected behavior and the observed behavior should print `g` #### Complete, minimal, self-contained example code that reproduces the issue ```python def g(): while True: yield 'g' import param class P(param.Parameterized): p = param.String(allow_refs=True) p = P(p=g) #print(next(g())) print(p.p) # nothing prints ```
ALL software version info
Software Version Info
Description of expected behavior and the observed behavior
should print
gComplete, minimal, self-contained example code that reproduces the issue