Sha256: 076beb897d210253a7c15287f5f8342c754cdf6b621fd79ae499c6e341d1b115
Contents?: true
Size: 287 Bytes
Versions: 1
Compression:
Stored size: 287 Bytes
Contents
require 'hat/middlewares/json' require 'hat/features/durable' module Examples class Durable < Hat::Worker include Hat::Middlewares::Worker::JSON include Hat::Features::Durable queue 'hat.direct.durable' def perform(_, _, payload) puts payload end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rabbit-hat-0.0.1 | examples/durable.rb |