Reaction
@rotorsoft/act-root / act/src / Reaction
Type Alias: Reaction<E, K>
Reaction<
E,K> =object
Defined in: libs/act/src/types/reaction.ts:53
Defines a reaction to an event.
Type Parameters
E
E extends Schemas
Event schemas.
K
K extends keyof E = keyof E
Event name.
Properties
handler
readonlyhandler:ReactionHandler<E,K>
Defined in: libs/act/src/types/reaction.ts:54
The reaction handler.
options
readonlyoptions:ReactionOptions
Defined in: libs/act/src/types/reaction.ts:56
The reaction options.
resolver
readonlyresolver:ReactionResolver<E,K>
Defined in: libs/act/src/types/reaction.ts:55
The reaction resolver.