import { GatherState } from "https://deno.land/x/ddu_vim@v5.0.0/state.ts";
Constructors
new
GatherState(sourceInfo: AvailableSourceInfo<Params, UserData>,
itemsStream: ReadableStream<DduItem[]>,
options?: { signal?: AbortSignal; },
Type Parameters
optional
Params extends BaseSourceParams = BaseSourceParamsProperties
readonly
items: readonly DduItem[]readonly
itemsStream: ReadableStream<DduItem[]>readonly
signal: AbortSignalreadonly
sourceInfo: AvailableSourceInfo<Params, UserData>Methods
readAll(): Promise<void>
resetSignal(signal?: AbortSignal): void