Glossary: System Design Basics in C++
clock (injectable / fake clock)
Also written: fake clock, clock
A function returning the current time, passed into a class so tests can move time by hand instead of sleeping.
Glossary: System Design Basics in C++
Also written: fake clock, clock
A function returning the current time, passed into a class so tests can move time by hand instead of sleeping.