Summary:
Use RequestChannel to construct Thrift Clients.
use folly/python/futures.h to marry up thrift client rpc futures to
asyncio futures. No gil exchanges
py3 clients are async context managers now.
Reviewed By: ambv, yfeldblum
Differential Revision:
D4639677
fbshipit-source-id:
6b400747507446882d3cfcb1cf7e85c3daa07a2e
cdef extern from "folly/Try.h" namespace "folly" nogil:
cdef cppclass cFollyTry "folly::Try"[T]:
- T value() except+
+ T value()
cbool hasException[T]()
cbool hasException()
cFollyExceptionWrapper exception()