Hangfire icon indicating copy to clipboard operation
Hangfire copied to clipboard

Add 'Clock' for UtcNow injection

Open NooNameR opened this issue 5 years ago • 2 comments

It could be really helpful while testing: you can inject your own IClock and control how jobs are executing.

NooNameR avatar Apr 03 '20 07:04 NooNameR

Hi @odinserj, are there any plans to merge this PR? Or to provide another way to replace the system clock with a custom one?

hankovich avatar Apr 26 '22 15:04 hankovich