api: Build and start the API

View source: R/api.R

apiR Documentation

Build and start the API

Description

Build and start the API

Usage

api(
  queue_id = NULL,
  workers = 2,
  results_dir = tempdir(),
  inputs_dir = NULL,
  log_level = "info"
)

Arguments

queue_id

ID of an existing queue to connect to, creates a new one if NULL

workers

Number of workers to spawn

results_dir

The dir for results to be saved to

inputs_dir

THe directory where input files are stored

log_level

The "lgr" log level to use

Value

Running API


mrc-ide/hintr documentation built on April 25, 2024, 11:58 p.m.