Interface HumanInteractionManagerConfig

Configuration for HumanInteractionManager.

interface HumanInteractionManagerConfig {
    logger?: ILogger;
    defaultTimeoutMs?: number;
    notificationHandler?: HITLNotificationHandler;
    maxPendingPerType?: number;
    autoRejectOnTimeout?: boolean;
}

Properties

logger?: ILogger

Logger instance

defaultTimeoutMs?: number

Default timeout for requests in ms

notificationHandler?: HITLNotificationHandler

Notification handler

maxPendingPerType?: number

Maximum pending requests per type

autoRejectOnTimeout?: boolean

Auto-reject on timeout (vs returning timeout response)