[Pharo-dev] a weak on:do:/when:do:
tudor at tudorgirba.com
Wed Aug 28 07:14:16 EDT 2013
That is what I knew, too. I asked because the mail seemed to suggest that
it would work :).
On Wed, Aug 28, 2013 at 12:54 PM, Esteban Lorenzano <estebanlm at gmail.com>wrote:
> no, it is not.
> that will keep the registry forever because it acts over a block (no
> ephemerons, remember)
> On Aug 28, 2013, at 11:56 AM, Tudor Girba <tudor at tudorgirba.com> wrote:
> Does this work?
> On Wed, Aug 28, 2013 at 11:54 AM, Stéphane Ducasse <
> stephane.ducasse at inria.fr> wrote:
>> whenListChanged: aBlock
>> "Specify a block to value after the contents of the list has
>> "Basically when you set a new list of items"
>> <api: #event>
>> | block |
>> block := [ :announcement :ann |
>> cull: announcement newContents
>> cull: announcement oldContents
>> cull: announcement
>> cull: ann ].
>> listAnnouncer weak
>> when: ValueChanged
>> do: block
> "Every thing has its own flow"
"Every thing has its own flow"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev