@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 464 B
TypeScript
type RawWriter = (chunk: string) => void;
type FlushScheduler = (flush: () => void) => void;
export type RpcEventOutputBuffer = {
readonly enqueueEvent: (event: object) => void;
readonly writeImmediate: (value: object) => void;
readonly flushEvents: () => void;
};
export declare function createRpcEventOutputBuffer(writeRaw: RawWriter, scheduleFlush?: FlushScheduler): RpcEventOutputBuffer;
export {};
//# sourceMappingURL=event-output-buffer.d.ts.map