bee
bee copied to clipboard
SoftShutdownStream
Change the current ShutdownStream type to HardShutdownStream, which stops the stream immediately upon receiving the shutdown signal. Add a new variation called SoftShutdownStream, that upon receiving the shutdown signal first drains the stream buffer, and only then terminates.