Lines Matching full:polling
26 // before polling again.
28 // - __poll is the "test function" that should return true if polling succeeded, and false if it failed.
30 // - __backoff is the "backoff policy", which is called with the duration since we started polling. It should
31 // return false in order to resume polling, and true if polling should stop entirely for some reason.
32 // In general, backoff policies sleep for some time before returning control to the polling loop.
34 // - __max_elapsed is the maximum duration to try polling for. If the maximum duration is exceeded,
35 // the polling loop will return false to report a timeout.
56 // the polling loop.
58 // This is not very well-behaved since it will cause the polling loop to spin,