Interface ClusterEnv<T>

interface ClusterEnv<T> {
    LF_CLUSTER_ID: T extends "fork"
        ? string
        : number;
    LF_CLUSTER_MANAGER_MODE: ClusterManagerMode;
    LF_SHARDS: T extends "fork"
        ? string
        : number[];
    LF_SHARD_COUNT: T extends "fork"
        ? string
        : number;
}

Type Parameters

Properties

LF_CLUSTER_ID: T extends "fork"
    ? string
    : number
LF_CLUSTER_MANAGER_MODE: ClusterManagerMode
LF_SHARDS: T extends "fork"
    ? string
    : number[]
LF_SHARD_COUNT: T extends "fork"
    ? string
    : number

Generated using TypeDoc