How to implement the dependence of route construction on traffic data?

The documentation on the main GitHub page says that it is possible to build routes depending on traffic data. But I can’t find how to do it.