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
readonlycomponent:string
Defined in: flow/src/frameworkEvents.ts:33
action
readonlyaction:string
Defined in: flow/src/frameworkEvents.ts:34
durationMs
readonlydurationMs:number
Defined in: flow/src/frameworkEvents.ts:35
ok
readonlyok:boolean
Defined in: flow/src/frameworkEvents.ts:36
ip
readonlyip:string|null
Defined in: flow/src/frameworkEvents.ts:37
ctx
readonlyctx:object|undefined
Defined in: flow/src/frameworkEvents.ts:38