@lacunahub/letsfrag
    Preparing search index...

    Interface EvalOptions<T>

    Options for evaluating scripts on clusters

    interface EvalOptions<T extends object = object> {
        clusterList?: number[];
        context?: T;
        shardList?: number[];
        timeout?: number;
    }

    Type Parameters

    • T extends object = object
    Index

    Properties

    clusterList?: number[]

    Specific cluster IDs to evaluate on.

    context?: T

    Context to pass to the evaluated script.

    shardList?: number[]

    Specific shard IDs to evaluate on.

    timeout?: number

    Timeout for script evaluation in milliseconds.