couch-kit
Preparing search index...
@couch-kit/core
Recording
Interface Recording<S, A>
A recording that can be replayed against a reducer.
interface
Recording
<
S
extends
IGameState
=
IGameState
,
A
extends
IAction
=
IAction
,
>
{
actions
:
RecordedAction
<
A
>
[]
;
endTimestamp
?:
number
;
initialState
:
S
;
metadata
?:
Record
<
string
,
unknown
>
;
startTimestamp
:
number
;
}
Type Parameters
S
extends
IGameState
=
IGameState
A
extends
IAction
=
IAction
Index
Properties
actions
end
Timestamp?
initial
State
metadata?
start
Timestamp
Properties
actions
actions
:
RecordedAction
<
A
>
[]
Optional
end
Timestamp
endTimestamp
?:
number
initial
State
initialState
:
S
Optional
metadata
metadata
?:
Record
<
string
,
unknown
>
start
Timestamp
startTimestamp
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
actions
end
Timestamp
initial
State
metadata
start
Timestamp
couch-kit
Loading...
A recording that can be replayed against a reducer.