interface VirtualConnectParams {
    callback?: ((...args: any[]) => any);
    connection?: ProviderConfig | ProvidersConfig;
    guid?: string;
    logLevel?: LogLevel;
    namespace?: string;
    retry?: RetryPolicy;
    topic: string;
}

Properties

callback?: ((...args: any[]) => any)

The linked worker function that will be called; optional if read only

Provider configuration

guid?: string

Idempotent GUID for the worker and engine

logLevel?: LogLevel

Log level for the worker

namespace?: string

Namespace for grouping common functions

retry?: RetryPolicy

Retry policy for the worker. Controls retry behavior with exponential backoff when the callback throws.

{ maximumAttempts: 3, backoffCoefficient: 2, maximumInterval: 30 }
topic: string

Unique topic for the worker function