ShardEntityClass
Esta página aún no está disponible en tu idioma.
Defined in: src/cluster/sharding/ShardKey.ts:74
…and constructs with no arguments, so passing the class alone is enough.
An entity with a dependency-injecting constructor satisfies
ShardKeyedClass but not this, which routes it to the
start(TheClass, factory) overload.
Extends
Section titled “Extends”ShardKeyedClass<TCommand>
Type Parameters
Section titled “Type Parameters”TCommand
Section titled “TCommand”TCommand
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ShardEntityClass():
Actor<TCommand>
Defined in: src/cluster/sharding/ShardKey.ts:75
Returns
Section titled “Returns”Actor<TCommand>
Inherited from
Section titled “Inherited from”ShardKeyedClass<TCommand>.constructor
Properties
Section titled “Properties”
readonlyshard:ShardKey<TCommand>
Defined in: src/cluster/sharding/ShardKey.ts:65
Inherited from
Section titled “Inherited from”ShardKeyedClass.shard
