Folly Futures to Python Asyncio Futures Bridge
[folly.git] / folly / python / executor.pxd
1 from libcpp.memory cimport unique_ptr
2 from folly cimport cFollyExecutor
3
4 cdef extern from "folly/python/NotificationQueueExecutor.h" namespace "folly::python":
5     cdef cppclass cNotificationQueueExecutor "folly::python::NotificationQueueExecutor"(cFollyExecutor):
6         int fileno()
7         void drive()
8
9 cdef class NotificationQueueExecutor:
10     cdef unique_ptr[cNotificationQueueExecutor] cQ
11
12 cdef api cFollyExecutor* get_executor()