code: func GetRunningTasks(t *testing.T, c client.ServiceAPIClient, serviceID string) []swarmtypes.Task {
  	t.Helper()
  
  	tasks, err := c.TaskList(context.Background(), types.TaskListOptions{
  		Filters: filters.NewArgs(
  			filters.Arg("service", serviceID),
  			filters.Arg("desired-state", "running"),
  		),
  	})
  
  	assert.NilError(t, err)
  	return tasks
  }
docs: // GetRunningTasks gets the list of running tasks for a service