Skip to content

clearSharedContentClients

clearSharedContentClients(): void

Forgets every pinned client, so the next sharedContentClient call runs its factory again.

For tests, and for a process that genuinely needs to rebuild a client — a key rotated without a restart, say. It does not invalidate anything: a client already handed out keeps working and keeps its cache, so call invalidate() first if what you wanted was freshness rather than a new instance.

void