An active subscription that yields StompMessages as they arrive.
Iterate it with for await; the loop ends when unsubscribe is called or the connection closes. It is an AsyncDisposable, so await using unsubscribes automatically.
for await
AsyncDisposable
await using
1.0.0
Readonly
The destination this subscription matches.
The broker-facing subscription id.
Stops the subscription (UNSUBSCRIBE) and ends the iterator.
UNSUBSCRIBE
Resolves once the UNSUBSCRIBE is written.
An active subscription that yields StompMessages 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.0