Title: | Communicate Between 'Shiny' Client and Server |
---|---|
Description: | What the package does (one paragraph). |
Authors: | John Coene [aut, cre], Opifex [cph, fnd] |
Maintainer: | John Coene <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.1.3.9000 |
Built: | 2024-11-18 04:08:47 UTC |
Source: | https://github.com/devOpifex/communicate |
Checks that arguments passed matched that in function
check_args_match(callback, ...)
check_args_match(callback, ...)
callback |
Callback function to check against. |
... |
Arguments. |
Communication handler.
com(id, handler)
com(id, handler)
id |
ID of communication handler. |
handler |
Callback function. |
Serve communication channels.
com_serve(session = shiny::getDefaultReactiveDomain())
com_serve(session = shiny::getDefaultReactiveDomain())
session |
Shiny session. |
Type converters for convenience.
Character Integer Numeric Date Posixct Posixlt Dataframe List Function
Character Integer Numeric Date Posixct Posixlt Dataframe List Function
An object of class list
of length 2.
An object of class list
of length 2.
An object of class list
of length 2.
An object of class list
of length 2.
An object of class list
of length 2.
An object of class list
of length 2.
An object of class list
of length 2.
An object of class list
of length 2.
An object of class list
of length 2.
Create a new type with its associated checker and converter.
create_type(r_converter, js_checker = NULL, name = NULL)
create_type(r_converter, js_checker = NULL, name = NULL)
r_converter |
R converter function to transform the value. received from the server to the desired type in R. |
js_checker |
JavaScript checker function to check if the value received from the client is of the desired type. |
name |
Name of the type. |
Dependencies for communicate, to place withing the Shiny UI.
useCommunicate()
useCommunicate()