Preparing search index...
The search index is not available
@rotorsoft/eventually-monorepo
@rotorsoft/eventually-monorepo
eventually
Message
Type alias Message<M, N>
Message
<
M
,
N
>
:
{
actor
?:
Actor
;
data
:
Readonly
<
M
[
N
]
>
;
expectedVersion
?:
number
;
name
:
N
;
stream
?:
string
;
}
Messages have
name
a name
data
a payload
stream?
the target stream when message is a command
expectedVersion?
the expected version of the stream or a concurrency error is thrown
actor?
the actor invoking the command
Type Parameters
M
extends
Messages
=
Messages
N
extends
keyof
M
&
string
=
string
Type declaration
Optional
Readonly
actor
?:
Actor
Readonly
data
:
Readonly
<
M
[
N
]
>
Optional
Readonly
expected
Version
?:
number
Readonly
name
:
N
Optional
Readonly
stream
?:
string
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
Messages have
name
a namedata
a payloadstream?
the target stream when message is a commandexpectedVersion?
the expected version of the stream or a concurrency error is thrownactor?
the actor invoking the command