public Worker(Thread thread) { Thread = thread; Id = SimpleIdGenerator.GetId(); }
internal Job(Delegate payload) { _payload = payload; Id = SimpleIdGenerator.GetId(); }