Commit 2f214cc1 authored by Pragash Sivasundaram's avatar Pragash Sivasundaram Committed by Facebook Github Bot

Adding functions to the cFollyFuture cpp Class Definition

Summary: - Adding hasValue() function

Reviewed By: yfeldblum

Differential Revision: D9926823

fbshipit-source-id: 2316eb67cd6a906850ad0dec913988f116f840d6
parent 1876763a
......@@ -14,6 +14,7 @@ cdef extern from "folly/Try.h" namespace "folly" nogil:
cdef extern from "folly/futures/Future.h" namespace "folly" nogil:
cdef cppclass cFollyFuture "folly::Future"[T]:
T get()
cbool hasValue()
#TODO add via and then
cdef extern from "folly/Unit.h" namespace "folly":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment