diff options
author | Ruslan Kovalev <ruslan.a.kovalev@gmail.com> | 2022-02-10 16:46:45 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:45 +0300 |
commit | 9123176b341b6f2658cff5132482b8237c1416c8 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/coroutine/engine/callbacks.h | |
parent | 59e19371de37995fcb36beb16cd6ec030af960bc (diff) | |
download | ydb-9123176b341b6f2658cff5132482b8237c1416c8.tar.gz |
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/callbacks.h')
-rw-r--r-- | library/cpp/coroutine/engine/callbacks.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/library/cpp/coroutine/engine/callbacks.h b/library/cpp/coroutine/engine/callbacks.h index 640e6c25d7..e81b17344f 100644 --- a/library/cpp/coroutine/engine/callbacks.h +++ b/library/cpp/coroutine/engine/callbacks.h @@ -1,18 +1,18 @@ -#pragma once - -class TCont; -class TContExecutor; - -namespace NCoro { - class IScheduleCallback { - public: +#pragma once + +class TCont; +class TContExecutor; + +namespace NCoro { + class IScheduleCallback { + public: virtual void OnSchedule(TContExecutor&, TCont&) = 0; virtual void OnUnschedule(TContExecutor&) = 0; }; - + class IEnterPollerCallback { public: virtual void OnEnterPoller() = 0; virtual void OnExitPoller() = 0; - }; -} + }; +} |