A clock every node reads time through; a test replaces it.
API
@Interface()
export abstract class Clock {
abstract now(): Date;
}Contract Topology
Static AST wiring across @Module / @Provide / @Use@Useconsumed by (19)
HarnessHistoryServiceProviderMessagingModuleOrganizationModuleSessionsModuleSnapshotServiceProviderUsageServiceProviderBuiltinBrowserRoutesTaskManagerModuleAmspRoutesAuthServiceThemeRoutesErrorRecorderSchedulerUsageRecorderAdminServiceAgentRoutesPluginModulesServiceUpdateCheckServiceWorkbenchService
Members (1)
now
now(): Date@returns
Date