TracedAction

class TracedAction(val label: String, inner: Action, trace: ActionTracer = ActionTracer) : Action

TracedAction is a wrapper around an Action that tracks its execution time and reports it to an ActionTracer.

Parameters

label

A human-readable label for the action, used in telemetry

inner

The actual Action being wrapped and executed

trace

The ActionTracer instance that will receive updates about this action's execution

Constructors

Link copied to clipboard
constructor(label: String, inner: Action, trace: ActionTracer = ActionTracer)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun preview(fieldOverlay: Canvas)
Link copied to clipboard
open override fun run(p: TelemetryPacket): Boolean