EdgeAIG's picture
download
raw
294 Bytes
import type { Event as SDKEvent } from "@opencode-ai/sdk/v2/types";
import type { Stream } from "effect";
export type EventMap = {
[Item in SDKEvent as Item["type"]]: Item;
};
export interface Event {
subscribe<Type extends keyof EventMap>(type: Type): Stream.Stream<EventMap[Type]>;
}

Xet Storage Details

Size:
294 Bytes
·
Xet hash:
360398deeca8e06b508fcf0327cc3c12649a65404defe5631cb6f61ac2ab7296

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.