Exemplo n.º 1
0
 public string ContinueWith <T>([NotNull] string parentId, [InstantHandle, NotNull] Expression <Func <T, Task> > methodCall, Core.Interfaces.JobContinuationOptions options = Core.Interfaces.JobContinuationOptions.OnlyOnSucceededState)
 {
     return(BackgroundJob.ContinueJobWith <T>(parentId, methodCall, (Hangfire.JobContinuationOptions)options));
 }
Exemplo n.º 2
0
 public string ContinueWith <T>([NotNull] string parentId, [InstantHandle, NotNull] Expression <Action <T> > methodCall, Core.Interfaces.JobContinuationOptions options)
 {
     return(BackgroundJob.ContinueJobWith <T>(parentId, methodCall, (Hangfire.JobContinuationOptions)options));
 }