Wisper::Que
Provides Wisper with asynchronous event publishing using Que actors.
Installation
gem 'wisper-que'
Usage
require 'wisper/que'
class Joe
include Wisper::Publisher
def call
broadcast(:sup, 'joe')
end
end
class SomeJob
def self.sup(args)
puts "i got #{ args }"
end
end
joe = Joe.new
joe.subscribe(SomeJob, async: true)
joe.call
Contributing
Yes please, either submit a PR or open an issue first to discuss your thoughts.