GuestOf<F>: F extends ((...args: infer A) => Vow<infer R>)
    ? ((...args: A) => Promise<R>)
    : F

The function from the host as it will be available in the guest.

Specifically, Vow return values are converted to Promises.

Type Parameters