All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dingtalk.baymax.framework.sdk.mercury.model.StreamObserver Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package com.dingtalk.baymax.framework.sdk.mercury.model;

/**
 * @Author xiaoyan
 * @Date 2023-09-01 14:32:19
 */
public interface StreamObserver {

    /**
     * onNext
     *
     * @param data to process
     */
    void onNext(T data);

    /**
     * onError
     *
     * @param throwable error
     */
    void onError(Throwable throwable);

    /**
     * onCompleted
     */
    void onCompleted();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy