aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/core/monotonic_provider.h
blob: 98e1203400957732a3eb251a6bfd8b260cca4115 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "monotonic.h"

namespace NActors {

class IMonotonicTimeProvider : public TThrRefBase {
public:
    virtual TMonotonic Now() = 0;
};

TIntrusivePtr<IMonotonicTimeProvider> CreateDefaultMonotonicTimeProvider();

} // namespace NActors