close

open fun close()

Close this stream and release all associated resources, checking first that the end of stream has been reached. Can safely be called even if the stream was previously closed. If a delta link was encountered before the stream was closed, it will be available via the {@link com.sap.cloud.mobile.kotlin.odata.DeltaStream#deltaLink DeltaStream.deltaLink} property only after the stream is closed. If a next link was encountered before the stream was closed, it will be available via the {@link com.sap.cloud.mobile.kotlin.odata.DeltaStream#nextLink DeltaStream.nextLink} property only after the stream is closed.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.DeltaStream#abort() DeltaStream.abort}.