shutdown_server {gym} | R Documentation |
Request a server shutdown.
Description
Request a server shutdown.
Usage
shutdown_server(x)
Arguments
x |
An instance of class "GymClient"; this object has "remote_base" as an attribute. |
Value
NULL Currently used by the integration tests to repeatedly create and destroy fresh copies of the server running in a separate thread.
Examples
## Not run:
remote_base <- "http://127.0.0.1:5000"
client <- create_GymClient(remote_base)
shutdown_server(client)
## End(Not run)
[Package gym version 0.1.0 Index]