ian-kent / MangoX-Queue

Queue implementation using Mango
0 stars 6 forks source link

Add delay_compat option (issue #6) #7

Closed oliwer closed 9 years ago

oliwer commented 9 years ago

This option allows to use MangoX::Queue non-blocking functions inside a Mojo::IOLoop->delay. It is disabled by defaut as it breaks the API.

When this option is enabled, all callbacks will recieve the current MangoX::Queue object ($self) as their first argument.

ian-kent commented 9 years ago

Thanks @oliwer, much appreciated :smile: