Wraps a callback so that it always runs with a realm ambient.
the realm record or its id; the default realm when omitted
the callback
the wrapped callback
Wraps a callback so that it always runs with a realm ambient.