Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

How to (when) discard changes on an opened observer #95

Open
jacargentina opened this issue May 23, 2015 · 0 comments
Open

How to (when) discard changes on an opened observer #95

jacargentina opened this issue May 23, 2015 · 0 comments

Comments

@jacargentina
Copy link

I have an observer on object X (opened and listening...), then i need to populate some properties (let say 5 props), but i dont want to react on those 5 changes; then i need to start listening again.

AFAIK, I cant open, "suspend", and then "restart" an observer, right? So i'm thinking on using the discardChanges API. My doubt is, which changes i'm in control of? What is the "micro-task" thing?

My doubt is: my 5 properties population would take 1, or more "micro-tasks" ??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant