Method ListStreamNamesAsync
ListStreamNamesAsync(string?, CancellationToken)
List stream names.
public IAsyncEnumerable<string> ListStreamNamesAsync(string? subject = null, CancellationToken cancellationToken = default)
Parameters
subject
stringLimit the list to streams matching this subject filter.
cancellationToken
CancellationTokenA CancellationToken used to cancel the API call.
Returns
- IAsyncEnumerable<string>
Async enumerable list of stream names to be used in a
await foreach
loop.