stopServer: Stop a beakr instance server

Description Usage Arguments Value Examples

View source: R/utils.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(beakr)

beakr <- newBeakr()

# beakr pipeline
beakr %>%

  handleErrors() %>%

  listen(daemon = TRUE, verbose = TRUE)

stopServer(beakr, verbose = TRUE)

beakr documentation built on April 7, 2021, 1:06 a.m.