[][src]Attribute Macro bdk_macros::maybe_async

#[maybe_async]

Makes a method or every method of a trait "async" only if the target_arch is "wasm32"

Requires the async-trait crate as a dependency whenever this attribute is used on a trait definition or trait implementation.