Skip to content

ChangeSubscription

autogen.beta.knowledge.base.ChangeSubscription #

Bases: Protocol

Handle returned by :meth:KnowledgeStore.on_change.

Closing the subscription stops delivery of change notifications. This is filesystem-level reactivity for the backing store — not to be confused with autogen.beta.watch.Watch, which is the event- and time-pattern trigger system used by the framework-core Scheduler.

close async #

close()

Stop receiving change notifications.

Source code in autogen/beta/knowledge/base.py
async def close(self) -> None:
    """Stop receiving change notifications."""
    ...