1142
}
1143
1144
>
func (m *executionManagerImpl) toWorkflowMutableState(internState *InternalWorkflowMutableState) (*persistencespb.WorkflowMutableState, error) {
execution_manager.go
1145
>
state := &persistencespb.WorkflowMutableState{
1146
>
ActivityInfos: make(map[int64]*persistencespb.ActivityInfo),
1147
>
TimerInfos: make(map[string]*persistencespb.TimerInfo),
1148
>
ChildExecutionInfos: make(map[int64]*persistencespb.ChildExecutionInfo),
1149
>
RequestCancelInfos: make(map[int64]*persistencespb.RequestCancelInfo),
1150
>
SignalInfos: make(map[int64]*persistencespb.SignalInfo),
1151
>
ChasmNodes: make(map[string]*persistencespb.ChasmNode),
1152
>
SignalRequestedIds: internState.SignalRequestedIDs,
1153
>
NextEventId: internState.NextEventID,
1154
>
BufferedEvents: make([]*historypb.HistoryEvent, len(internState.BufferedEvents)),
1155
>
}
1156
>
for key, blob := range internState.ActivityInfos {
1157
info, err := m.serializer.ActivityInfoFromBlob(blob)
1158
if err != nil {