Sha256: f170dd5894fc86c84781222c4233108299ff33c0eccc7d9dfeeb23ff6f0dbc9b
Contents?: true
Size: 247 Bytes
Versions: 1
Compression:
Stored size: 247 Bytes
Contents
# frozen_string_literal: true class Async::App::EventLogger include Async::App::Component def run bus.subscribe(/.*/) do |name, payload| debug { "Event #{name} received. Payload:\n\n#{payload.pretty_inspect}\n" } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
async-tools-0.2.5 | lib/async/app/event_logger.rb |