// NewController Create a new workflow execution controller
NewController Create a new workflow execution controller
// NewController Create a new workflow execution controller
func NewController() (Controller, error) {
	coordinator, err := coordinator.NewCoordinator()
	if err != nil {
		return nil, err
	}
	return &executionController{
		coordinator:        coordinator,
		pendingTransitions: make(chan pendingTransition),
	}, nil
}
func NewController ( ) ( Controller , error ) { coordinator , err := coordinator . NewCoordinator ( ) if err != nil { return nil , err } return & executionController { coordinator : coordinator , pendingTransitions : make ( chan pendingTransition ) , } , nil }
NewController Create a new workflow execution controller
NewController Create a new workflow execution controller