local_app_process: App process that is cleaned up automatically

View source: R/local-app-process.R

local_app_processR Documentation

App process that is cleaned up automatically

Description

You can start the process with an explicit ⁠$start()⁠ call. Alternatively it starts up at the first ⁠$url()⁠ or ⁠$get_port()⁠ call.

Usage

local_app_process(app, ..., .local_envir = parent.frame())

Arguments

app

webfakes_app object, the web app to run.

...

Passed to new_app_process().

.local_envir

The environment to attach the process cleanup to. Typically a frame. When this frame finishes, the process is stopped.

See Also

new_app_process() for more details.


webfakes documentation built on Oct. 1, 2023, 9:06 a.m.