Skip to main content

Interface: ActivityInboundCallsInterceptor

worker.ActivityInboundCallsInterceptor

Implement any of these methods to intercept Activity inbound calls

Methods#

execute#

Optional execute(input, next): Promise<unknown>

Called when Activity function is executed

Parameters#

NameType
inputActivityExecuteInput
nextNext<this, "execute">

Returns#

Promise<unknown>

result of Activity function