-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,
Would it be possible to add more generic support for external events? I tried to hook-up timer events based on epoll and timerfd. It seems however that the method showed in the external_events.py doesn't work for purely async events (e.g. for bthreads that start just waiting for an async event, etc). There is no way then to tell when to send an Idle event. Would it be possible to add a callback run here? Then also the bthread ending detection would have to be adjusted (i.e. based on the generator/continuation actually ending, not the absence of events).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels