* * @throws \Throwable The exception used to fail the stream. */ public function continue(): Promise; /** * Disposes of the stream, indicating the consumer is no longer interested in the stream output. * * @return void */ public function dispose(); /** * Returns a stream object with fluent transformation methods. * * @param callable(TransformationStream):Stream $operator * * @return TransformationStream */ public function transform(callable $operator = null): TransformationStream; }