Skip to content

BucketsClient

type BucketsClient = {
list: () => Promise<{
id: string;
}[]>;
open: (id) => BucketClient;
};

Defined in: client/src/buckets/buckets.ts:40

The bucket namespace on a client: what is exposed, and a handle on each.

list: () => Promise<{
id: string;
}[]>;

Defined in: client/src/buckets/buckets.ts:42

Lists the buckets this server exposes.

Promise<{ id: string; }[]>


open: (id) => BucketClient;

Defined in: client/src/buckets/buckets.ts:44

Returns a handle on a bucket by id. Performs no request.

Parameter Type
id string

BucketClient