I'm reading and parsing some kind of format from a...
# coroutines
t
I'm reading and parsing some kind of format from a file and I currently pass along an interface which the parsing code can use to actually read bytes from the file. Currently the class implementing this interface uses blocking code. If I wanted to implement the same interface with coroutines and suspending code, I'd have to add the suspend keyword to the methods in the interface. However, only the new implementation would actually be suspending while the old implementation would not be suspending. Is it bad style to have an implementation of a suspending interface which doesn't actually suspend? Implementing the same interface seems to be the only way to avoid having to duplicate all the code which uses the interface.