Class: Rage::Telemetry::Spans::ProcessCableAction
- Inherits:
-
Object
- Object
- Rage::Telemetry::Spans::ProcessCableAction
- Defined in:
- lib/rage/telemetry/spans/process_cable_action.rb
Overview
The cable.action.process span wraps the processing of a single Rage::Cable channel action.
This span is started just before the action method is invoked on the channel, and is ended immediately after the action method returns. See handle for the list of arguments passed to handler methods.
Class Method Summary collapse
Class Method Details
.handle(id:, name:, channel:, action:, data:, env:) ⇒ Object
Note:
Rage automatically detects which parameters your handler method accepts and only passes those parameters. You can omit any of the parameters described here.
19 20 |
# File 'lib/rage/telemetry/spans/process_cable_action.rb', line 19 def handle(id:, name:, channel:, action:, data:, env:) end |