def init_handler(flow, phase, handler, version)
      Distribot.publish!(
        "distribot.flow.handler.#{handler}.#{version}.enumerate",
        flow_id: flow.id,
        phase: phase.name,
        task_queue: "distribot.flow.handler.#{handler}.#{version}.tasks",
        task_counter: "distribot.flow.#{flow.id}.#{phase.name}.#{handler}.finished",
        finished_queue: 'distribot.flow.task.finished'
      )
    end
def init_handler(flow, phase, handler, version)
      Distribot.publish!(
        "distribot.flow.handler.#{handler}.#{version}.enumerate",
        flow_id: flow.id,
        phase: phase.name,
        task_queue: "distribot.flow.handler.#{handler}.#{version}.tasks",
        task_counter: "distribot.flow.#{flow.id}.#{phase.name}.#{handler}.finished",
        finished_queue: 'distribot.flow.task.finished'
      )
    end
rubocop:disable Metrics/LineLength