package com.atlassian.bitbucket.mesh.grpc;

/**
 * Interface that {@link io.grpc.stub.ClientCallStreamObserver}s can implement to receive a callback when the
 * RPC is closed (e.g. through an error).
 */
public interface ClientCallCloseListener {

    /**
     * Callback that is invoked when the RPC closes.
     */
    void onClosed();
}
