EntityEnvelope
Esta página aún no está disponible en tu idioma.
EntityEnvelope<
TMessage> =object
Defined in: src/cluster/sharding/ShardingProtocol.ts:111
Addresses one entity by id instead of relying on extractEntityId.
The region wraps every message bound for a local entity in this envelope
before handing it to the owning Shard — the shard has no extractor of its
own, and the id has already been computed one level up. It is also the
on-the-wire shape a remote region forwards, so an envelope that arrives
inside a ShardEnvelope routes exactly like a locally created one.
Type Parameters
Section titled “Type Parameters”TMessage
Section titled “TMessage”TMessage = unknown
Properties
Section titled “Properties”entityId
Section titled “entityId”
readonlyentityId:string
Defined in: src/cluster/sharding/ShardingProtocol.ts:113
readonlykind:"sharding.EntityEnvelope"
Defined in: src/cluster/sharding/ShardingProtocol.ts:112
message
Section titled “message”
readonlymessage:TMessage
Defined in: src/cluster/sharding/ShardingProtocol.ts:114
