Share via


PineconeMemoryStore.ListNamespacesAsync(String, CancellationToken) Method

Definition

List Namespaces

public System.Collections.Generic.IAsyncEnumerable<string?> ListNamespacesAsync (string indexName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListNamespacesAsync : string * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<string>
override this.ListNamespacesAsync : string * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<string>
Public Function ListNamespacesAsync (indexName As String, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of String)

Parameters

indexName
String

The name of the index.

cancellationToken
CancellationToken

Cancellation Token to cancel the request.

Returns

A list of namespaces.

Implements

Applies to