osmpbf icon indicating copy to clipboard operation
osmpbf copied to clipboard

Stop decoding of a file

Open karsten42 opened this issue 7 years ago • 1 comments

Is there a way right now to stop the decoding of a file? As far as I see from looking at the code if you were to stop calling the Decode() method before you went through the entire file there would be dangling go routines that you can't stop. Am I missing something, or is it just not intended so far to stop the decoding prematurely?

karsten42 avatar Jun 14 '17 14:06 karsten42

You are right, it's not implemented yet. Feel free to send a PR if you have time.

AlekSi avatar Jun 14 '17 14:06 AlekSi