brandonhilkert / sucker_punch

Sucker Punch is a Ruby asynchronous processing library using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.
MIT License
2.65k stars 114 forks source link

Feature request: async on class methods. #164

Closed hey-jude closed 8 years ago

hey-jude commented 8 years ago

Sidekiq can use delay() method on class method. https://github.com/mperham/sidekiq/wiki/Delayed-extensions

How about sucker_punch's async()?

brandonhilkert commented 8 years ago

You can still use the old sync (.new.async) with the backwards compatibility include. Right now, I'd prefer to let this DSL bake for awhile before introducing any more changes.