eventHandlers

@JvmName(name = "mttuensrdxdgpekw")
suspend fun eventHandlers(value: Output<List<CxFlowEventHandlerArgs>>)
@JvmName(name = "usjhlrwjoemylklj")
suspend fun eventHandlers(value: List<CxFlowEventHandlerArgs>?)

Parameters

value

A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's Page.event_handlers, which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.


@JvmName(name = "umrtgtvjaonbjidx")
suspend fun eventHandlers(vararg values: Output<CxFlowEventHandlerArgs>)


@JvmName(name = "dqsdceddbprstvtv")
suspend fun eventHandlers(values: List<Output<CxFlowEventHandlerArgs>>)
@JvmName(name = "ersmbkkinpquvihv")
suspend fun eventHandlers(vararg values: CxFlowEventHandlerArgs)

Parameters

values

A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's Page.event_handlers, which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.


@JvmName(name = "kirsdskcryqrffmj")
suspend fun eventHandlers(argument: List<suspend CxFlowEventHandlerArgsBuilder.() -> Unit>)
@JvmName(name = "mhnkkvnvfflvxxvm")
suspend fun eventHandlers(vararg argument: suspend CxFlowEventHandlerArgsBuilder.() -> Unit)
@JvmName(name = "svbnycscpvoopnad")
suspend fun eventHandlers(argument: suspend CxFlowEventHandlerArgsBuilder.() -> Unit)

Parameters

argument

A flow's event handlers serve two purposes: They are responsible for handling events (e.g. no match, webhook errors) in the flow. They are inherited by every page's Page.event_handlers, which can be used to handle common events regardless of the current page. Event handlers defined in the page have higher priority than those defined in the flow. Unlike transitionRoutes, these handlers are evaluated on a first-match basis. The first one that matches the event get executed, with the rest being ignored. Structure is documented below.