[Pharo-dev] [Pharo-fuel] Fuel API bug

Henrik Johansen henrik.s.johansen at veloxit.no
Wed Aug 7 05:03:13 EDT 2013

On Aug 7, 2013, at 8:55 , Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:

> On Aug 6, 2013, at 4:47 PM, Stéphane Ducasse <Stephane.Ducasse at inria.fr> wrote:
>>> #when:do: is there already ;) 
>> even better then :)
>>> #when:send:to: and #when:do:for: should be added though.
> what would be when:do:for: ?

Its use is to specify a non-standard subscriber.
In VW it is pretty much mandatory when using weak subscription, as VW subscribes the block.
In Pharo it's much less useful, both because the at the moment weak when:do: doesn't work, but also since Pharo subscribes the block's receiver by default, which is what you want in 95% of cases.
Still nice to have around in the edge cases one might still need it though. 


More information about the Pharo-dev mailing list