Learn R Programming

aqr (version 0.2)

aqPoll: Poll data from the messaging bridge

Description

Used to poll data from the messaging bridge. This function returns all available messages for all channels and empties all buffers in the bridge. As the time of this writing (0.2), individual messages are separated by "\n". In a future version, this function will return a list object.

Usage

aqPoll()

Arguments

Examples

Run this code
> aqPoll()
     [,1]         
[1,] "/topic/TEXT"
     [,2]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
[1,] "TEST1\nTEST2\nTEST3\n"
>

Run the code above in your browser using DataLab