Stops the server associated with a Beakr instance, closing all open connections and unbinding the port.

stopServer(beakr = NULL, verbose = FALSE)

Arguments

beakr

Beakr instance.

verbose

Logical specifying whether to print out details of the Beakr instance just stopped.

Value

None

Examples

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