Re: standard asynchronous deferred-to-result syntax RFP by Matt Sergeant- July 15, 2005 On 14 Jul 2005, at 13:16, David Nicol wrote:> I have uploaded asynchronous::universal::ready and> asynchronous::universal::set_callback> to CPAN. They are both entirely trivial packages with a mess of> documentation. The> idea behind them is to support asynchonous frameworks in which the> immediate result> of passing away a message is a placeholder object with a ready method> that will return> a false value until its result message comes back, at which time the>..http://www.nntp.perl.org/group/perl.perl6.language.flow/2005/07/msg337.html standard asynchronous deferred-to-result syntax RFP by David Nicol- July 14, 2005 I have uploaded asynchronous::universal::ready andasynchronous::universal::set_callbackto CPAN. They are both entirely trivial packages with a mess ofdocumentation. Theidea behind them is to support asynchonous frameworks in which theimmediate resultof passing away a message is a placeholder object with a ready methodthat will returna false value until its result message comes back, at which time theplaceholder upgradesitself to a result.To avoid mandating true ready methods for all objects...http://www.nntp.perl.org/group/perl.perl6.language.flow/2005/07/msg336.html |