Synchronous Object.observe but Asynchronous Object.unobserve ?

Rafael Weinstein rafaelw at chromium.org
Sat Nov 3 23:19:40 PDT 2012


If you wish, you can maintain a WeakMap of observed objects. If you
wish to never process a changeRecord for an object you've stopped
observing, you can simply check the WeakMap to see if it's still
observed.

On Fri, Nov 2, 2012 at 9:50 PM, Andrea Giammarchi
<andrea.giammarchi at gmail.com> wrote:
> fair enough, but I want to know what I am seeing is recorded and the TV is
> switched off ... how? Flagging records? Flagging objects? Via getNotifier ?
>
>
> On Fri, Nov 2, 2012 at 11:56 AM, Erik Arvidsson <erik.arvidsson at gmail.com>
> wrote:
>>
>> On Fri, Nov 2, 2012 at 12:22 PM, Andrea Giammarchi
>> <andrea.giammarchi at gmail.com> wrote:
>> > How to make this simple ... if I switch off the TV I don't expect any
>> > eco
>> > after ... I don't care about the program, it should not bother me.
>>
>> If you stick to the TV analogy... You don't want Tivo to erase what it
>> just recorded just because you stopped recording.
>>
>> --
>> erik
>
>


More information about the es-discuss mailing list