Add fastapi code

This commit is contained in:
2022-11-27 13:16:21 +01:00
parent 7cc1a424dc
commit 337ca690cf
2880 changed files with 643628 additions and 0 deletions

View File

@ -0,0 +1,18 @@
cdef class UVTimer(UVHandle):
cdef:
method_t callback
object ctx
bint running
uint64_t timeout
uint64_t start_t
cdef _init(self, Loop loop, method_t callback, object ctx,
uint64_t timeout)
cdef stop(self)
cdef start(self)
cdef get_when(self)
@staticmethod
cdef UVTimer new(Loop loop, method_t callback, object ctx,
uint64_t timeout)