Learn R Programming

websockets (version 1.1.7)

daemonize: Service websocket events asynchronously

Description

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

Usage

daemonize(server)

Arguments

server

A websockets server created with create_server.

Value

NULL is invisibly returned

Details

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

See Also

createContext create_server

Examples

Run this code
# NOT RUN {
# See the detailed example in help('websockets')
# }

Run the code above in your browser using DataLab