I am seeing that migrate() function is blocking, isn't there a non blocking function with a callback associated to it, so to report events like end migration, migration progress (job domain info informations) and so on?

Pasquale