@textile/hub > Buckets > existing
Buckets.existing() method
Existing lists all remote buckets in the thread or in all threads.
Signature:
existing(threadID?: string): Promise<Root[]>;
Parameters
Parameter | Type | Description |
---|---|---|
threadID | string | (optional) if threadID is not defined, this will return buckets from all threads. |
Returns:
Promise<Root[]>