Stops the server associated with a Beakr instance,
closing all open connections and unbinding the port.
stopServer(beakr = NULL, verbose = FALSE)Beakr instance.
Logical specifying whether to print out details of the
Beakr instance just stopped.
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: 1
stopServer(beakr, verbose = TRUE)
#> Stopped Beakr Instance: Kid Date
#> State: Inactive | Host: 127.0.0.1 | Port: 25118 | Middlewares: 1