public override async Task <bool> Handle(JobEvent <EchoJobEventData> request, CancellationToken cancellationToken) { await Task.Run(() => this.logger.LogInformation($"{{LogKey:l}} {request?.Data?.Text} (type={this.GetType().PrettyName()})", LogKeys.JobScheduling)); return(true); }
public abstract Task <bool> Handle(JobEvent <TData> request, CancellationToken cancellationToken);