method

idle

v2_1_10 - Show latest stable - Class: Net::IMAP
idle(&response_handler)
public

Sends an IDLE command that waits for notifications of new or expunged messages. Yields responses from the server during the IDLE.

Use #idle_done() to leave IDLE.