in src/app.rb [9:19]
def list_tasks(input)
result, error = Task.list_tasks(next_token: input.next_token, max_items: input.max_items)
if error.nil?
tasks = result[:tasks]
next_token = result[:next_token]
[ListTasksOutput.new(tasks: tasks, next_token: next_token), nil]
else
[nil, error]
end
end