Class: Tasker::Orchestration::TaskFinalizer::ContextManager

Inherits:
Object
  • Object
show all
Defined in:
lib/tasker/orchestration/task_finalizer.rb

Overview

Service class to manage task execution context Uses the new function-based implementations for reliable performance

Class Method Summary collapse

Class Method Details

.get_task_execution_context(task_id) ⇒ Tasker::Functions::FunctionBasedTaskExecutionContext?

Get TaskExecutionContext using function-based implementation

Parameters:

  • task_id (Integer)

    The task ID

Returns:



210
211
212
213
# File 'lib/tasker/orchestration/task_finalizer.rb', line 210

def get_task_execution_context(task_id)
  # Use our new function-based implementation - it should always return data or nil
  Tasker::Functions::FunctionBasedTaskExecutionContext.find(task_id)
end