diff options
author | Ruslan Kovalev <ruslan.a.kovalev@gmail.com> | 2022-02-10 16:46:44 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:44 +0300 |
commit | 59e19371de37995fcb36beb16cd6ec030af960bc (patch) | |
tree | fa68e36093ebff8b805462e9e6d331fe9d348214 /library/cpp/coroutine/engine/callbacks.h | |
parent | 89db6fe2fe2c32d2a832ddfeb04e8d078e301084 (diff) | |
download | ydb-59e19371de37995fcb36beb16cd6ec030af960bc.tar.gz |
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 1 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 e81b17344f..640e6c25d7 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; - }; -} + }; +} |