Project

wisper-que

0.0
No commit activity in last 3 years
No release in over 3 years
hooks que up to wisper
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8
~> 10.0

Runtime

~> 0.11
~> 1.0
 Project Readme

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.