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
Optionalcount
count?: number
Optionalpeekonly
peekonly?: boolean
If true, don't remove emails from queue
Optionalreturnallmail
returnallmail?: boolean
options.returnallmail Return all mail, not up to 'count'.
Optionalscanaheaduntil
scanaheaduntil?: string | Date
options.scanaheaduntil If set, also look at future tasks until this date
Optionaltimeout
timeout?: number
options.timeout Timeout in milliseconds, max 60000
options.count Number of mails expected within the timeout. Defaults to 1