An AsyncIterable with an explicit teardown hook. Returned by OxiaClient.getNotifications and OxiaClient.getSequenceUpdates.
AsyncIterable
Either iterate with for await (...) and call close() when done, or break out of the loop — the async iterator's return() method delegates to close() as well.
for await (...)
close()
break
return()
Stop the subscription and end the iterator. Idempotent.
An
AsyncIterablewith an explicit teardown hook. Returned by OxiaClient.getNotifications and OxiaClient.getSequenceUpdates.Either iterate with
for await (...)and callclose()when done, orbreakout of the loop — the async iterator'sreturn()method delegates toclose()as well.