itinero / routing

The routing core of itinero.
Apache License 2.0
221 stars 70 forks source link

Cancel the routing process #261

Open peteryang023 opened 5 years ago

peteryang023 commented 5 years ago

Hi Supported Team,

I am working on the routing stuff running in a server environment, and I see there is some APIs allow users to pass CancellationToken parameter, my first feeling is these methods are async-await pattern, but actually, they are not, and I found there is no place calling cancellationToken.ThrowIfCancellationRequested() to check whether the calculate process is cancelled or not. What do you think of it?

Thanks, Peter