docs/v3/api-ref/python/prefect-server-utilities-worker_channel_cleanup.mdx
prefect.server.utilities.worker_channel_cleanupWorkerCleanupInFlight <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L29" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>WorkerCleanupConnectionRegistry <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L35" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>Methods:
dispatch_available <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L173" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>dispatch_available(self) -> None
forget_cleanup_reservation <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L151" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>forget_cleanup_reservation(self, connection: WorkerChannelConnection) -> bool
has_cleanup_capacity <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L101" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>has_cleanup_capacity(self, connection: WorkerChannelConnection, max_cleanup_concurrency: int) -> bool
register <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L56" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>register(self, connection: WorkerChannelConnection) -> AsyncIterator[None]
track_cleanup_reservation <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L110" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>track_cleanup_reservation(self, connection: WorkerChannelConnection, in_flight: WorkerCleanupInFlight, max_cleanup_concurrency: int) -> bool
update_cleanup_lease <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L128" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>update_cleanup_lease(self, connection: WorkerChannelConnection) -> bool
wake_dispatcher <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/utilities/worker_channel_cleanup.py#L211" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>wake_dispatcher(self, work_pool_id: UUID) -> None