keepPosition

inline fun <T> AsyncStream.keepPosition(callback: () -> T): T
inline fun <T> SyncStream.keepPosition(callback: () -> T): T