fastmcp.server.mixins.lifespan
Lifespan infrastructure for FastMCP Server.
Classes
LifespanMixin
Mixin providing lifespan infrastructure for FastMCP.
Methods:
docket
_current_docket
ContextVar inheritance β so accessing .docket on a mounted child
returns None even while its tasks run on the rootβs Docket.
