RayInterface.remote#

RayInterface.remote(fn_or_class)[source]

Handle the remote execution of a function or class.

Parameters:

fn_or_class – The function or class to execute remotely.

Returns:

A reference to the remote execution result.

Return type:

ObjectRef