Remove experimental.signal API (#7477)

* Remove experimental.signal API

* fix test
This commit is contained in:
Edward Oakes
2020-03-09 16:03:36 -07:00
committed by GitHub
parent 023d4c02a9
commit 0c254295b0
7 changed files with 13 additions and 634 deletions
-11
View File
@@ -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