TriggerHook

class TriggerHook @Inject constructor(queueClient: ProducerQueueClient)

Use case class responsible for triggering hooks based on the executor result.

Constructors

Link copied to clipboard
@Inject
constructor(queueClient: ProducerQueueClient)

Creates an instance of TriggerHook with the specified queue client.

Types

Link copied to clipboard
object Companion : Logging

Functions

Link copied to clipboard
suspend fun invoke(plan: Plan, hook: Hook, result: ExecutorResult)

Triggers the appropriate hook based on the executor result.