Context provided to an activity interceptor, containing metadata about the proxied activity being invoked.

interface ActivityInterceptorContext {
    activityName: string;
    args: any[];
    options?: ActivityConfig;
}

Properties

activityName: string

The name of the activity function being called

args: any[]

The arguments passed to the activity call

options?: ActivityConfig

The activity configuration (retryPolicy, taskQueue, etc.)