Extended by
Properties
timeout?
validate?
Parameters
Returns
string | true | Promise<string | true>
maxAttempts?
RetriesExceeded). Invalid answers and
c.retry() calls count. Default 3; Infinity = unlimited.
retries?
retries: N is maxAttempts: N + 1. Pass one of the two.
Breaking in 2.0: during the alphas retries: N meant N total attempts; use
maxAttempts: N to keep that behaviour. A wait that sets retries without
maxAttempts logs one warning per bot (logger.warn) to flag the change.
otherwise?
filter?
Parameters
Returns
boolean