Missing timeout function on IO

The Java API class com.complexible.stardog.api.Query (and its subclasses) support a timeout parameter, however the class com.complexible.stardog.api.IO does not.

This means that queries and updates can be executed with a timeout, but it is not possible to configure a timeout for operations writing statements (IO.stream(...)).

Is this intended behaviour? If so, why?

If not, could this be added in a future release?

This is the intended behavior, mostly because these operations are the user explicitly opening a write transaction and in that case almost certainly wants the write to finish. Having it timeout could cause more problems than it solves. We don't foresee implementing a timeout on these operations in the foreseeable future.

Hi Stephen!

Thanks for the explanation, makes sense :slight_smile: