Example #1
0
 internal GenericSpiffyWorker(Func <T> activator, ISpiffyContext <T> spiffyContext, SpiffyLifetime lifetime)
     : base(activator, spiffyContext)
 {
     Lifetime = lifetime;
 }
 private async ValueTask CreateIdleWorker(SpiffyLifetime lifetime)
 => await MakeIdle(new GenericSpiffyWorker <T>(activator, this, lifetime));