close method
Cancels production when necessary and releases the stream handle.
Implementation
void close() {
if (isClosed) return;
try {
cancelSync();
} finally {
_owner.close();
}
}
Cancels production when necessary and releases the stream handle.
void close() {
if (isClosed) return;
try {
cancelSync();
} finally {
_owner.close();
}
}