Resolves with null if the pipeline has completed. * * @psalm-return Promise * * @throws \Throwable The exception used to fail the pipeline. */ public function continue(): Promise; /** * Disposes of the pipeline, indicating the consumer is no longer interested in the pipeline output. * * @return void */ public function dispose(); }