Skip to content
Effect Days 2026 Get your ticket

EntityAddress

5 exports Added in v1.0.0 Source

Constructors

make

Added in v4.0.0 Source

Signature

declare function make(options: {
readonly entityId: any;
readonly entityType: any;
readonly shardId: ShardId;
}): EntityAddress

Models

Represents the unique address of an entity within the cluster.

Signature

declare class EntityAddress extends {
[key: string]: any;
} {
[key: string]: any;
constructor(...args: [props?: {
[key: string]: any;
}, options?: MakeOptions]);
readonly [TypeId]: symbol;
"~effect/interfaces/Equal"(that: EntityAddress): boolean;
"~effect/interfaces/Hash"(): any;
}

Schemas

Represents the unique address of an entity within the cluster.

Signature

declare const EntityAddressFromSelf: Schema.Schema<EntityAddress>

Type Ids

TypeId

Added in v1.0.0 Source

Signature

declare const TypeId: unique symbol

TypeId type

Added in v1.0.0 Source

Signature

type TypeId = typeof TypeId