mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 16:31:25 +08:00
[doc] Minor fix to indentation (#14040)
This commit is contained in:
@@ -92,8 +92,8 @@ Ray enables arbitrary functions to be executed asynchronously. These asynchronou
|
||||
|
||||
@ray.remote
|
||||
def slow_function():
|
||||
time.sleep(10)
|
||||
return 1
|
||||
time.sleep(10)
|
||||
return 1
|
||||
|
||||
# Invocations of Ray remote functions happen in parallel.
|
||||
# All computation is performed in the background, driven by Ray's internal event loop.
|
||||
|
||||
Reference in New Issue
Block a user