Runner
Constructors
Models
A Runner represents a physical application server that is capable of running entities.
Because a Runner represents a physical application server, a Runner must have a unique address which can be used to communicate with the server.
The version of a Runner is used during rebalancing to give priority to newer application servers and slowly decommission older ones.
Signature
declare class Runner extends ReadonlySide<
{
readonly address: typeof RunnerAddress;
readonly groups: $Array<String>;
readonly weight: Number;
},
"Type"
> {
constructor(
...args: [
props: ReadonlyMakeIn<{
readonly address: typeof RunnerAddress;
readonly groups: $Array<String>;
readonly weight: Number;
}>,
options?: MakeOptions,
]
);
readonly [TypeId]: symbol;
static readonly decodeSync: (input: any, options?: ParseOptions) => any;
static readonly encodeSync: (input: any, options?: ParseOptions) => any;
static pretty: any;
[NodeInspectSymbol](): string;
"~effect/interfaces/Equal"(that: Runner): boolean;
"~effect/interfaces/Hash"(): number;
}
A
Runnerrepresents a physical application server that is capable of running entities.Because a Runner represents a physical application server, a Runner must have a unique
addresswhich can be used to communicate with the server.The version of a Runner is used during rebalancing to give priority to newer application servers and slowly decommission older ones.