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

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Aug 22 17:14:47 EDT 2013


hi henrik


do you have an implementation for when:do:for: because I do not see it?

	https://pharo.fogbugz.com/default.asp?11316

Stef


>>>> #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. 
> 
> Cheers,
> Henry





More information about the Pharo-dev mailing list