PrefetchRequest


A request for prefetch which can be submitted to a PrefetchScheduler to execute during idle time.

Summary

Public functions

Boolean

Gives this request a chance to execute work.

Cmn

Public functions

fun PrefetchRequestScope.execute(): Boolean

Gives this request a chance to execute work. It should only do work if it thinks it can finish it within PrefetchRequestScope.availableTimeNanos.

Returns
Boolean

whether this request has more work it wants to do, but ran out of time. true indicates this request wants to have execute called again to do more work, while false indicates its work is complete.