Creates a pin that reacts to changes in the given board by polling pin_get(), useful when used from the shiny package.

pin_reactive(name, board, interval = 5000, session = NULL, extract = NULL)

Arguments

name

The name of the pin.

board

The board where this pin will be retrieved from.

interval

Approximate number of milliseconds to wait to retrieve updated pin. This can be a numeric value, or a function that returns a numeric value.

session

The user session to associate this file reader with, or NULL if none. If non-null, the reader will automatically stop when the session ends.

extract

Should compressed files be extracted? Each board defines the deefault behavior.