effect-tea-persistent
    Preparing search index...
    • Cluster's Sharding for a runner that runs programs. It records the version of each program under the runner's address first, and dies if one is older than the newest a launch recorded, so that a runner of an older version never registers (decision 0159). It gives Sharding the RunnerHealth of byVersion over the one the launcher provides, and gives Recorded the versions it recorded. A process with no runnerAddress, a client of the cluster alone, records nothing.

      Parameters

      • programs: readonly Pick<
            Program<
                Readonly<
                    {
                        flags: unknown;
                        inbound: unknown;
                        index: string;
                        internal: unknown;
                        key: string;
                        operation: Readonly<{ _tag: string }>;
                        parameter: object;
                        projection: unknown;
                        rejection: unknown;
                        sender: unknown;
                        services: unknown;
                        state: object;
                        topics?: Readonly<Record<string, Json>>;
                    },
                >,
                string,
            >,
            "name"
            | "migrations",
        >[]

      Returns Layer<
          Recorded
          | Sharding,
          never,

              | SqlClient
              | RunnerHealth
              | ShardingConfig
              | Runners
              | MessageStorage
              | RunnerStorage,
      >