Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / FlowActionHandled

Class: FlowActionHandled

Defined in: flow/src/frameworkEvents.ts:31

Emitted after a Flow component action round-trips over the WebSocket. Carries the same rich context an HTTP request does: ip, and the request-scoped ctx (an HttpContext with user set by re-run middleware, and the SQL queries that ran during the action correlated to it).

Constructors

Constructor

new FlowActionHandled(component, action, durationMs, ok, ip, ctx): FlowActionHandled

Defined in: flow/src/frameworkEvents.ts:32

Parameters

component

string

action

string

durationMs

number

ok

boolean

ip

string | null

ctx

object | undefined

Returns

FlowActionHandled

Properties

component

readonly component: string

Defined in: flow/src/frameworkEvents.ts:33


action

readonly action: string

Defined in: flow/src/frameworkEvents.ts:34


durationMs

readonly durationMs: number

Defined in: flow/src/frameworkEvents.ts:35


ok

readonly ok: boolean

Defined in: flow/src/frameworkEvents.ts:36


ip

readonly ip: string | null

Defined in: flow/src/frameworkEvents.ts:37


ctx

readonly ctx: object | undefined

Defined in: flow/src/frameworkEvents.ts:38