ReadonlychannelsThe channels (or patterns) this subscription covers.
ReadonlypatternWhether the entries in channels are patterns rather than exact channel names.
Stops the subscription and ends the iterator.
Only the channels no other subscription still holds are unsubscribed on the server.
Resolves once the server confirms.
An active subscription that yields RedisMessages as they arrive.
Iterate it with
for await; the loop ends when unsubscribe is called or the connection closes. It is anAsyncDisposable, soawait usingunsubscribes automatically.Since
1.0.6