public string RunExample(int messageCount) { string jobId = BackgroundJob.Enqueue( () => ExampleJob.RunExampleJob(messageCount, null)); return(jobId); }
private void OnJobFinished(ExampleJob ev) { Debug.Log("Job finished! Value: " + ev.result); }