daemonize: Service websocket events asynchronously

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/websockets.R

Description

Add the specified websocket server to the main R event loop, returning control to the console.

Usage

1
daemonize(server)

Arguments

server

A websockets server created with create_server.

Details

Process websocket events in the main R event loop asynchronously, returing control to the R console.

Value

NULL is invisibly returned

Author(s)

B. W. Lewis <blewis@illposed.net>

See Also

createContext create_server

Examples

1
# See the detailed example in help('websockets')

rstudio/R-Websockets documentation built on May 28, 2019, 4:33 a.m.