flush([count]);
Flushes all pending requests using the trained responses.
Parameters
Param | Type | Details |
---|---|---|
count (optional) | number | Number of responses to flush (in the order they arrived). If undefined, all pending requests will be flushed. If there are no pending requests when the flush method is called an exception is thrown (as this typically a sign of programming error). |
Please login to continue.