Class PyTaskCaller<R>

java.lang.Object
io.ray.api.call.BaseTaskCaller<PyTaskCaller<R>>
io.ray.api.call.PyTaskCaller<R>
Type Parameters:
R - The type of the python function return value

public class PyTaskCaller<R> extends BaseTaskCaller<PyTaskCaller<R>>
A helper to call python remote function.
  • Constructor Details

  • Method Details

    • remote

      public ObjectRef<R> remote()
      Execute a python function remotely and return an object reference to the result object in the object store.
      Returns:
      an object reference to an object in the object store.