CurrentStream function

Set/unset the current stream