EdgeAIG's picture
download
raw
476 Bytes
import type { Effect, Scope } from "effect";
import type { PluginContext } from "./context.js";
export interface Plugin<R = Scope.Scope> {
readonly id: string;
readonly effect: (context: PluginContext) => Effect.Effect<void, never, R>;
}
export declare function define<R = Scope.Scope>(plugin: Plugin<R>): Plugin<R>;
export interface PluginDomain {
readonly add: (plugin: Plugin) => Effect.Effect<void>;
readonly remove: (id: string) => Effect.Effect<void>;
}

Xet Storage Details

Size:
476 Bytes
·
Xet hash:
47413b7241afc138110edf8ef1c1d402245faf9c1fcd51d39ad2b359cff9ee54

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