Example #1
0
 // This function will get triggered/executed when a new message is written
 // on an Azure Queue called queue.
 public static void StartProcessingJob([QueueTrigger("buildqueue")] Tuple <int, IEnumerable <int> > jobTuple, TextWriter log)
 {
     log.WriteLine(jobTuple.Item1);
     Task.Factory.StartNew(() =>
     {
         LSA.ProcessAndStore(jobTuple.Item1, jobTuple.Item2);
     });
 }