Receives a BCC message from the current shell connection.
Syntax |
receive(bccmsg @msg, uint timeout = 0): bool |
---|---|
msg |
Reference to destination message |
timeout |
Maximum wait time [ms] (optional, default 0) |
Result |
Returns TRUE if message available, FALSE otherwise |
The function waits for the maximum waiting time indicated that there is an incoming BCC message from the connection: when available, it is received (as a copy) in the destination message.