Skip to content

ParcnetPODCollectionWrapper

Constructors

new ParcnetPODCollectionWrapper()

new ParcnetPODCollectionWrapper(api, collectionId, unloadProtector): ParcnetPODCollectionWrapper

Parameters

api: ParcnetRPCConnector

collectionId: string

unloadProtector: MutationUnloadProtector

Returns

ParcnetPODCollectionWrapper

Defined in

packages/app-connector/src/api_wrapper.ts:62

Methods

delete()

delete(signature): Promise<void>

Parameters

signature: string

Returns

Promise<void>

Defined in

packages/app-connector/src/api_wrapper.ts:103


insert()

insert(podData): Promise<void>

Parameters

podData: PODData

Returns

Promise<void>

Defined in

packages/app-connector/src/api_wrapper.ts:97


query()

query<E>(query): Promise<PODData[]>

Type Parameters

E extends Readonly<Record<string, EntrySchema>>

Parameters

query: PodSpec<E>

Returns

Promise<PODData[]>

Defined in

packages/app-connector/src/api_wrapper.ts:78


subscribe()

subscribe<E>(query): Promise<Subscription<E>>

Type Parameters

E extends Readonly<Record<string, EntrySchema>>

Parameters

query: PodSpec<E>

Returns

Promise<Subscription<E>>

Defined in

packages/app-connector/src/api_wrapper.ts:84