jypma commented on PR #1802: URL: https://github.com/apache/pekko/pull/1802#issuecomment-2781553846
I've decided to just introduce a `RunningGraph` interface to represent a graph that will eventually complete (with a `Task`), and has the ability to be interrupted (with another `Task`). That covers both `KillSwitch` (where interruption is immediate, but followed by awaiting the sink's completion stage) and `DrainingControl` (where interruption has a clear "done" signal). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org