Method: Moleculer::Transporters::Base#publish
- Defined in:
- lib/moleculer/transporters/base.rb
#publish(_packet) ⇒ Object
Publishes the provided packet to the transporter's message bus. The publish method is expected to implement the method of translating the packet data into the channel information on which to publish.
27 28 29 |
# File 'lib/moleculer/transporters/base.rb', line 27 def publish(_packet) raise NotImplementedError end |