The cost of the task A ThrottledAsyncTaskScheduler can be used to limit the number of concurrent tasks. A custom cost may be used, for example, if you would like to limit the number of tasks based on the total expected RAM usage of the tasks (this is done in the scanner)
| 94 | /// tasks based on the total expected RAM usage of the tasks (this is done in the |
| 95 | /// scanner) |
| 96 | virtual int cost() const { return 1; } |
| 97 | /// The name of the task |
| 98 | /// |
| 99 | /// This is used for debugging and traceability. The returned view must remain |
nothing calls this directly
no outgoing calls
no test coverage detected