Attribute Macro bdk_macros::maybe_async [−][src]
#[maybe_async]
Expand description
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.