1103
targetTime time.Time,
1104
triggeredDisable bool,
1106
>
event := b.createHistoryEvent(enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_TIME_SKIPPING_TRANSITIONED, b.timeSource.Now())
1107
>
transitionedAttr := &historypb.WorkflowExecutionTimeSkippingTransitionedEventAttributes{
1108
>
WallClockTime: timestamppb.New(b.timeSource.Now()),
1109
>
DisabledAfterFastForward: triggeredDisable,
1110
>
}
1111
>
if !targetTime.IsZero() {
1112
transitionedAttr.TargetTime = timestamppb.New(targetTime.UTC())
1113
}
1114
>
event.Attributes = &historypb.HistoryEvent_WorkflowExecutionTimeSkippingTransitionedEventAttributes{
event_factory.go
1115
>
WorkflowExecutionTimeSkippingTransitionedEventAttributes: transitionedAttr,
1116
>
}
1117
>
return event
1118
}