Перейти к содержимому
Русский

ShardEntityClass

Это содержимое пока не доступно на вашем языке.

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.

TCommand

new ShardEntityClass(): Actor<TCommand>

Defined in: src/cluster/sharding/ShardKey.ts:75

Actor<TCommand>

ShardKeyedClass<TCommand>.constructor

readonly shard: ShardKey<TCommand>

Defined in: src/cluster/sharding/ShardKey.ts:65

ShardKeyedClass.shard