>
> Quick update, after further research i've found a way to make it work, 
> inside-out objects.
>

And here's an actual prototype for a promise class.

    https://gist.github.com/kraih/11328864

The only problem now is that to use promises effectively we would have to 
make breaking changes to basically every API in mojolicious that currently 
accepts callbacks. Of course not having to worry about circular references 
and weaken at all is quite an upside. This needs to be discussed in the 
community.

--
sebastian 

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to