Preparing search index...
The search index is not available
@rotorsoft/eventually-monorepo
@rotorsoft/eventually-monorepo
eventually
EventResponse
Type alias EventResponse<S, C>
Event
Response
<
S
,
C
>
:
{
command
?:
Message
<
C
>
;
error
?:
string
;
id
:
number
;
state
?:
S
;
}
Response from event handlers
id
: the event id
error?
: error message when failed
command?
the command triggered by the event handler when handled by policies
state?
the reducible state when handled by process managers
Type Parameters
S
extends
State
C
extends
Messages
Type declaration
Optional
Readonly
command
?:
Message
<
C
>
Optional
Readonly
error
?:
string
Readonly
id
:
number
Optional
Readonly
state
?:
S
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@rotorsoft/eventually-monorepo
eventually
eventually-aws
eventually-azure
eventually-broker
eventually-express
eventually-gcp
eventually-openapi
eventually-pg
Generated using
TypeDoc
Response from event handlers
id
: the event iderror?
: error message when failedcommand?
the command triggered by the event handler when handled by policiesstate?
the reducible state when handled by process managers