[Mojolicious] Re: Question regarding Mojolicious v7.49 changes to M:I:Delay

2017-11-11 Thread Joel Berger
IIRC ->data was added when we were trying to make it easier for people to fix circular references in nonblocking code, I only used it a few times. It can almost always be replaced by making a my $data = {}; before creating the delay and then using $data->{...} rather than $delay->data->{...}. S

[Mojolicious] Re: Question regarding Mojolicious v7.49 changes to M:I:Delay

2017-11-10 Thread sri
> > When retrieving the starting point data from a back end it sometimes > includes references to other objects. > We keep most of the response data around in the "data" attribute of the > delay and start harvesting the referenced data, which we need to have > around before continuing to the o