[EC Connector] Add shutdown API to EC Connector. (#42423)

Signed-off-by: omerpaz95 <omerpaz95@gmail.com>
This commit is contained in:
omerpaz95
2026-05-28 12:28:01 +00:00
committed by GitHub
parent c1c4db8b4b
commit 811d805195
5 changed files with 25 additions and 1 deletions
@@ -79,6 +79,14 @@ class ECConnectorBase(ABC):
def is_consumer(self) -> bool:
return self._is_consumer
def shutdown(self) -> None:
"""
Shutdown the connector. This is called when the process
is shutting down to ensure that all the async operations are
completed and the connector is cleaned up properly.
"""
return None
# ==============================
# Worker-side methods
# ==============================