fn in a fresh, isolated GenAI state frame. Any Conversation / Turn / LLM
started inside fn lives in this frame only — it does not clash with
sibling runIsolated frames running concurrently, and it does not leak
to the outer async chain.
Use this to safely run parallel GenAI work:
Type Parameters
Parameters
() => T
required
Returns
T