Copy link
@dnarvaez

dnarvaez Aug 15, 2013

Not really a javascript master but is "overriding" functions like this considered good practice? In python I would only do it for unit tests and such, never in the real code. I wonder if DOM custom events are better for this kind of thing.

I'm also unconvinced we need a write method. I'd rather have activities deal directly with pause and stop, it's more flexible and it adds very little complexity.