GetMsg

From SoftIVR

Jump to: navigation, search

getMsg

getMsg(timeout) gets the first waiting message sent to this channel.

Parameters

  • timeout - the length of time to wait for a message to arrive

Return values

The getMsg() function returns the first message received, or an empty string if no message is waiting.

Examples

For an example, see the find me sample.

Return to Javascript functions.