waitingFor

fun waitingFor(destinations: Set<String>): List<Stop.Ride>(source)

Everyone here bound for one of destinations, longest waiting first.

What a boarding action draws from: pass it StopContextIfc.onwardLocations and it returns exactly those the vehicle could usefully take, in the order they arrived.