mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 17:45:08 +08:00
Remove experimental.signal API (#7477)
* Remove experimental.signal API * fix test
This commit is contained in:
@@ -226,17 +226,6 @@ class SignalActor:
|
||||
await self.ready_event.wait()
|
||||
|
||||
|
||||
class RemoteSignal:
|
||||
def __init__(self):
|
||||
self.signal_actor = SignalActor.remote()
|
||||
|
||||
def send(self):
|
||||
ray.get(self.signal_actor.send.remote())
|
||||
|
||||
def wait(self):
|
||||
ray.get(self.signal_actor.wait.remote())
|
||||
|
||||
|
||||
@ray.remote
|
||||
def _put(obj):
|
||||
return obj
|
||||
|
||||
Reference in New Issue
Block a user