[core] Switch Async Callback to C++ [WIP] (#9228)

Co-authored-by: simon-mo <simon.mo@hey.com>
This commit is contained in:
Ian Rodney
2020-07-07 09:47:25 -07:00
committed by GitHub
co-authored by simon-mo
parent 8391f66086
commit a1e14380ce
12 changed files with 142 additions and 303 deletions
-5
View File
@@ -172,7 +172,6 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
void GetAsync(const CObjectID &object_id,
ray_callback_function success_callback,
ray_callback_function fallback_callback,
void* python_future)
CRayStatus PushError(const CJobID &job_id, const c_string &type,
@@ -185,10 +184,6 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
const double capacity,
const CClientID &client_Id)
void SetPlasmaAddedCallback(plasma_callback_function callback)
void SubscribeToPlasmaAdd(const CObjectID &object_id)
cdef cppclass CCoreWorkerOptions "ray::CoreWorkerOptions":
CWorkerType worker_type
CLanguage language