This is not documented yet, but the preferred style is getting both upfront instead of inlining various kinds of calls in places that use the realm and vm.
This will be necessary for UnderlyingSink, which is WritableStream's equivalent of UnderlyingSource, and functions in much the same way.