Skip to main content

Interface: ActivityOutboundInterceptor

Interceptors of what an activity issues, on the worker.

Methods​

getLogAttributes()?​

optional getLogAttributes(input, next): Record<string, Json>

Parameters​

input​

Record<string, Json>

next​

(input) => Record<string, Json>

Returns​

Record<string, Json>


getMetricTags()?​

optional getMetricTags(input, next): Record<string, string>

Parameters​

input​

Record<string, string>

next​

(input) => Record<string, string>

Returns​

Record<string, string>


heartbeat()?​

optional heartbeat(details, next): Promise<unknown>

Parameters​

details​

unknown

next​

(details) => Promise<unknown>

Returns​

Promise<unknown>