J
Joe Van Dyk
Every second, a function in the class that's being made available via
DRb should be called automatically. How would I do that?
So I'd have
class Server
def update
# stuff gets updated
end
end
server = DRb.start_service....
server.update() # <== somehow ran every second
DRb.thread.join
DRb should be called automatically. How would I do that?
So I'd have
class Server
def update
# stuff gets updated
end
end
server = DRb.start_service....
server.update() # <== somehow ran every second
DRb.thread.join