Run a mock-host createHostContext callback (if supplied) and return its output. When the caller hasn't provided a callback, falls back to a {context: undefined} output so downstream code can treat the absence the same as the success case.
createHostContext
{context: undefined}
@rest-vir/api
Run a mock-host
createHostContextcallback (if supplied) and return its output. When the caller hasn't provided a callback, falls back to a{context: undefined}output so downstream code can treat the absence the same as the success case.