571
timerID string,
572
identity string,
574
>
event := b.createHistoryEvent(enumspb.EVENT_TYPE_TIMER_CANCELED, b.timeSource.Now())
575
>
event.Attributes = &historypb.HistoryEvent_TimerCanceledEventAttributes{
576
>
TimerCanceledEventAttributes: &historypb.TimerCanceledEventAttributes{
577
>
WorkflowTaskCompletedEventId: workflowTaskCompletedEventID,
578
>
StartedEventId: startedEventID,
579
>
TimerId: timerID,
580
>
Identity: identity,
581
>
},
582
>
}
583
>
return event
584
>
}
585
586
func (b *EventFactory) CreateWorkflowExecutionCancelRequestedEvent(request *historyservice.RequestCancelWorkflowExecutionRequest) *historypb.HistoryEvent {