public string RunExample(int messageCount)
        {
            string jobId = BackgroundJob.Enqueue(
                () => ExampleJob.RunExampleJob(messageCount, null));

            return(jobId);
        }
Exemplo n.º 2
0
 private void OnJobFinished(ExampleJob ev)
 {
     Debug.Log("Job finished! Value: " + ev.result);
 }