Sha256: 9fa1a14aef70713ad9a4319f7e5f084bc200de18d78d937c7bf067e6ec82cd1f
Contents?: true
Size: 226 Bytes
Versions: 3
Compression:
Stored size: 226 Bytes
Contents
# frozen_string_literal: true module Yael module Publisher extend ActiveSupport::Concern def publish(name, on: self, **payload) Yael::Bus.shared.dispatch(name, stream: on, payload: payload) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yael-0.0.3 | lib/yael/publisher.rb |
yael-0.0.2 | lib/yael/publisher.rb |
yael-0.0.1 | lib/yael/publisher.rb |