@coze/taro-api
Version:
Official Coze Taro SDK for seamless AI integration into your applications | 扣子官方 Taro SDK,助您轻松集成 AI 能力到应用中
14 lines (13 loc) • 355 B
TypeScript
import { type RequestConfig } from './types';
import { BaseEventSource } from './base';
/**
* Process streaming requests for ByteDance Mini Program
*/
export declare class EventSource extends BaseEventSource {
private options;
private task;
private isAborted;
constructor(options: RequestConfig);
start(): void;
abort(): void;
}