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