mirror of
https://github.com/wassname/ray.git
synced 2026-07-18 12:40:56 +08:00
[core] Switch Async Callback to C++ [WIP] (#9228)
Co-authored-by: simon-mo <simon.mo@hey.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user