Interface WaitForEmailOptions
interface WaitForEmailOptions {
count?: number;
peekonly?: boolean;
returnallmail?: boolean;
scanaheaduntil?: string | Date;
timeout?: number;
}
count?: number;
peekonly?: boolean;
returnallmail?: boolean;
scanaheaduntil?: string | Date;
timeout?: number;
}
Index
Properties
Properties
Optional
count
count?: number
Optional
peekonly
peekonly?: boolean
If true, don't remove emails from queue
Optional
returnallmail
returnallmail?: boolean
options.returnallmail Return all mail, not up to 'count'.
Optional
scanaheaduntil
scanaheaduntil?: string | Date
options.scanaheaduntil If set, also look at future tasks until this date
Optional
timeout
timeout?: number
options.timeout Timeout in milliseconds, max 60000
options.count Number of mails expected within the timeout. Defaults to 1