External module "threads"
Functions
add
- add(config: IAddThreadConfig): Promise<IThread>
-
Parameters
Returns Promise<IThread>
addOrUpdate
- addOrUpdate(thread: IThread): Promise<void>
-
Parameters
Returns Promise<void>
cancelSearchSnapshots
- cancelSearchSnapshots(): Promise<void>
get
- get(threadId: string): Promise<IThread>
-
Parameters
Returns Promise<IThread>
list
- list(): Promise<IThreadList>
-
Returns Promise<IThreadList>
peers
- peers(threadId: string): Promise<IPeerList>
-
Parameters
Returns Promise<IPeerList>
remove
- remove(id_: string): Promise<string>
-
Parameters
Returns Promise<string>
rename
- rename(threadId: string, name: string): Promise<void>
-
Parameters
-
threadId: string
-
name: string
Returns Promise<void>
searchSnapshots
- searchSnapshots(query: IThreadSnapshotQuery, options: IQueryOptions): Promise<string>
-
Parameters
-
query: IThreadSnapshotQuery
-
options: IQueryOptions
Returns Promise<string>
snapshot
- snapshot(): Promise<void>
Add a new Thread.