ActionLifecycleBuilder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun build(): Action
Link copied to clipboard
fun cleanup(block: () -> Unit)

Sets the cleanup block for the action.

Link copied to clipboard
fun init(block: () -> Unit)

Sets the initialization block for the action.

Link copied to clipboard
fun loop(block: TelemetryPacket.() -> Boolean)

Sets the looping block for the action.