com.dingtalk.baymax.framework.sdk.mercury.model.StreamObserver Maven / Gradle / Ivy
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();
}