Interface: WorkflowInboundInterceptor
Interceptors of what reaches workflow code.
Methods
execute()?
optionalexecute(input,next):Promise<unknown>
Parameters
input
next
(input) => Promise<unknown>
Returns
Promise<unknown>
handleQuery()?
optionalhandleQuery(input,next):unknown
Synchronous: a query handler must not wait.
Parameters
input
next
(input) => unknown
Returns
unknown
handleSignal()?
optionalhandleSignal(input,next):unknown
Parameters
input
next
(input) => unknown
Returns
unknown
handleUpdate()?
optionalhandleUpdate(input,next):unknown
Parameters
input
next
(input) => unknown
Returns
unknown
validateUpdate()?
optionalvalidateUpdate(input,next):void
Synchronous: throw to reject the update (nothing is written to history).
Parameters
input
next
(input) => void
Returns
void