Observer Pattern

Implements the GoF Observer pattern for decoupled event-driven architecture in Python using ABC-based subjects, weakref-based subscriptions, async observers with asyncio.create_task, and structured event dataclasses.

paulpas 9b39ecd 15.7 KB Updated

File contents

paulpas/agent-skill-router/tree/main/skills/coding/observer-pattern commit 9b39ecdbd4

Frequently asked questions

npx skillmds@latest add paulpas/observer-pattern