[−][src]Macro bdk_macros::await_or_block
await_or_block!() { /* proc-macro */ }
Awaits if target_arch is "wasm32", uses tokio::Runtime::block_on()
otherwise
Requires the tokio
crate as a dependecy with rt-core
or rt-threaded
to build on non-wasm32 platforms.