withCache

Attach the draft CacheableResult fields (ttlMs, cacheScope) to a result object from a CacheHint and return it, leaving the original untouched (matching the sibling withSubscriptionId). A freshness hint for clients/intermediaries that complements listChanged notifications.

@safe @safe
Json
withCache