Ignoring Finalizer Return Value in Streams

With streams, is there a way to ignore the finalizer return value as part of the resulting stream?

Basically my goal is to execute a stream which does some work, returns a value and removes an event listener. So my finalizer is removing the event listener, but that attaches returnType | void to the resulting value produced from my stream
Was this page helpful?