blob: e81b17344f5ae24f1cd9d714060638916d6ea9c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#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;
};
}
|