Stops the server associated with a Beakr
instance,
closing all open connections and unbinding the port.
stopServer(beakr = NULL, verbose = FALSE)
beakr |
|
---|---|
verbose | Logical specifying whether to print out details of the
|
None
library(beakr) beakr <- newBeakr() # beakr pipeline beakr %>% handleErrors() %>% listen(daemon = TRUE, verbose = TRUE)#> Beakr Instance: Kid Date #> State: Active | Host: 127.0.0.1 | Port: 25118 | Middlewares: 1stopServer(beakr, verbose = TRUE)#> Stopped Beakr Instance: Kid Date #> State: Inactive | Host: 127.0.0.1 | Port: 25118 | Middlewares: 1