SingletonActorClass
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Defined in: src/cluster/singleton/SingletonKey.ts:84
…and constructs with no arguments, so passing the class alone is enough.
A class with a dependency-injecting constructor satisfies
SingletonKeyedClass but not this — which is exactly what routes it to
the start(TheClass, factory) overload instead of producing an error.
Extends
Section titled “Extends”SingletonKeyedClass<TCommand>
Type Parameters
Section titled “Type Parameters”TCommand
Section titled “TCommand”TCommand
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SingletonActorClass():
Actor<TCommand>
Defined in: src/cluster/singleton/SingletonKey.ts:85
Returns
Section titled “Returns”Actor<TCommand>
Inherited from
Section titled “Inherited from”SingletonKeyedClass<TCommand>.constructor
Properties
Section titled “Properties”singleton
Section titled “singleton”
readonlysingleton:SingletonKey<TCommand>
Defined in: src/cluster/singleton/SingletonKey.ts:74
Inherited from
Section titled “Inherited from”SingletonKeyedClass.singleton
