ray.actor.ActorClass.remote#

ActorClass.remote(*args: Any, **kwargs: Any) ActorHandle[T] | type[T][source]#

Create an actor.

Parameters:
  • *args – These arguments are forwarded directly to the actor constructor.

  • **kwargs – These arguments are forwarded directly to the actor constructor.

Returns:

A handle to the newly created actor.