Use this when running on a thread spawned with `dex_thread_spawn()` and you need to block the thread until future has resolved or rejected.
future
a [class@Dex.Future]
true if future resolved, otherwise false and throws is set to the rejection.