interface MeshCallExecParams {
    args: any[];
    connection?: ProviderConfig;
    namespace?: string;
    options?: MeshCallExecOptions;
    redis?: ProviderConfig;
    topic: string;
}

Properties

args: any[]

Arguments to pass to the worker function

connection?: ProviderConfig

Provider configuration

namespace?: string

namespace for grouping common functions

Execution options like caching ttl

Redis configuration; use 'connection' instead of 'redis'

topic: string

topic assigned to the worker when it was connected