Runs a function with a realm ambient, for it and everything it awaits or schedules.
the realm record; the default realm when omitted
the function to run
what fn returns
fn
Runs a function with a realm ambient, for it and everything it awaits or schedules.