src/Module/Pipeline/CalgamoPipelineModule.php
public function install(ApplicationInterface $app)
    {
        try{
            $pipeline = new Pipeline($app->response());
            $app->pipeline($pipeline);

            // fire event
            $app->eventstream()->channel(Channels::SYSTEM)->push(Events::PIPELINE_ATTACHED, $pipeline);
        }
        catch(\Throwable $e)
        {
            throw new ModuleInstallationException(self::class, $e->getMessage(), $e);
        }
    }
public function install(ApplicationInterface $app)
    {
        try{
            $pipeline = new Pipeline($app->response());
            $app->pipeline($pipeline);

            // fire event
            $app->eventstream()->channel(Channels::SYSTEM)->push(Events::PIPELINE_ATTACHED, $pipeline);
        }
        catch(\Throwable $e)
        {
            throw new ModuleInstallationException(self::class, $e->getMessage(), $e);
        }
    }
Install module

@param ApplicationInterface $app

@throws ModuleInstallationException