[Pharo-dev] What is WeakActionSequence?

Hernán Morales Durand hernan.morales at gmail.com
Sun Oct 6 06:31:34 EDT 2013


El 04/10/2013 14:27, Camillo Bruni escribió:
> What is that class? No comments, two single methods on Object that refer to it?
>

A WeakActionSequence is used as container for MessageSend's. It looks 
like is not even really weak, there is no weakSubclass: definition...

You probably don't see users because it was (tipically) only used in 
OmniBrowser in Pharo <= 1.4. Users of the SASE (a.k.a triggerEvent) 
mechanism also are (or were) users.

The question is, why every object should be able to register events?
Think of magnitudes registering events.

Object subclasses could include all the observer pattern implementations 
you like.

Hernán





More information about the Pharo-dev mailing list