You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having a little fun with manual subscriptions and the possibility to dispose one in cases where I didn't need or want the subscription to fire. After finishing all the operations needed, I create a new subscription with the same callback. Seemed to work just fine in most cases.
Sadly though the disposed subsciprion obviously looses its place in the subscription queue and thus has a lower priority than a foreach-template subscription.
When some new properties on array elements are needed for the template and those properties are usually set via the disposed and renewed manual subscription the templating obviously fails.
To cut a long story short: It would be nice, if a manual subscription could be suspended and continued at a later point in time. The code changes to support this behaviour doesn't seem too big. But maybe that's just my newbie eye on that matter. :)
Thanks in advance!
Boris
The text was updated successfully, but these errors were encountered:
Hello Steve,
I was having a little fun with manual subscriptions and the possibility to dispose one in cases where I didn't need or want the subscription to fire. After finishing all the operations needed, I create a new subscription with the same callback. Seemed to work just fine in most cases.
Sadly though the disposed subsciprion obviously looses its place in the subscription queue and thus has a lower priority than a foreach-template subscription.
When some new properties on array elements are needed for the template and those properties are usually set via the disposed and renewed manual subscription the templating obviously fails.
To cut a long story short: It would be nice, if a manual subscription could be suspended and continued at a later point in time. The code changes to support this behaviour doesn't seem too big. But maybe that's just my newbie eye on that matter. :)
Thanks in advance!
Boris
The text was updated successfully, but these errors were encountered: