with_promise_domain function

Promise domains