package com.zb.mom.ww.mxgateway.client;

import galaxy_repository.v1.GalaxyRepositoryOuterClass.DeployEvent;
import galaxy_repository.v1.GalaxyRepositoryOuterClass.WatchDeployEventsRequest;
import io.grpc.stub.StreamObserver;

/**
 * Cancellable handle returned by the async {@code watchDeployEvents} variant.
 * Mirrors {@link MxGatewayEventSubscription} but for the Galaxy Repository
 * deploy-event stream.
 *
 * <p>All lifecycle / cancellation behaviour is inherited from
 * {@link MxGatewayStreamSubscription} (Client.Java-036).
 */
public final class DeployEventSubscription
        extends MxGatewayStreamSubscription<WatchDeployEventsRequest, DeployEvent> {
    public DeployEventSubscription() {
        super("client cancelled deploy event stream");
    }
}
