ShardingRegistrationEvent overview
Added in v1.0.0
Table of contents
constructors
EntityRegistered
Constructs and event that occurs when a new EntityType gets registered.
Signature
export declare function EntityRegistered<Msg extends Message.Message.Any>(
entityType: RecipientType.EntityType<Msg>
): ShardingRegistrationEvent
Added in v1.0.0
SingletonRegistered
Constructs a new event that occurs when a new Singleton is registered.
Signature
export declare function SingletonRegistered(name: string): ShardingRegistrationEvent
Added in v1.0.0
TopicRegistered
Constructs a new event that occurs when a topic is Registered.
Signature
export declare function TopicRegistered<Msg extends Message.Message.Any>(
topicType: RecipientType.TopicType<Msg>
): ShardingRegistrationEvent
Added in v1.0.0
models
ShardingRegistrationEvent (type alias)
Signature
export type ShardingRegistrationEvent = EntityRegistered<any> | SingletonRegistered | TopicRegistered<any>
Added in v1.0.0