MCPcopy
hub / github.com/buildbot/buildbot / IDataCollection

Interface IDataCollection

www/data-module/src/data/DataCollection.ts:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17import {DataMultiPropertiesCollection} from "./DataMultiPropertiesCollection";
18
19export interface IDataCollection {
20 // A valid data collection is one that listens to data changes from the API. The initial set of data objects may
21 // not have been acquired yet, isResolved() tracks this. Invalid data collections are the ones that are constructed
22 // without an accessor and the ones whose accessor has expired.
23 isValid(): boolean;
24 isResolved(): boolean;
25 subscribe(): Promise<void>;
26 initial(data: any[]): void;
27 close(): Promise<void>;
28}
29
30export class DataCollection<DataType extends BaseClass> implements IDataCollection {
31 restPath!: string;

Callers 21

useDataApiQueryFunction · 0.65
useDataApiDynamicQueryFunction · 0.65
maybeRenderLoadMoreFunction · 0.65
maybeRenderLoadMoreFunction · 0.65
BuildsTable.tsxFile · 0.65
renderChangesCountFunction · 0.65
maybeRenderLoadMoreFunction · 0.65
BuildersTable.tsxFile · 0.65
WorkersView.tsxFile · 0.65
getAnyMethod · 0.65

Implementers 3

DataPropertiesCollectionwww/data-module/src/data/DataPropertie
BasicDataMultiCollectionwww/data-module/src/data/BasicDataMult
DataCollectionwww/data-module/src/data/DataCollectio

Calls

no outgoing calls

Tested by

no test coverage detected