Crate gstd_codegen
source ·Expand description
Provides macros for async runtime of Gear contracts.
Attribute Macros§
- Mark async function to be the program initialization method.
- Mark the main async function to be the program entry point.
- Similar to
wait_for_reply, but works with functions that create programs: It returns a message id with a newly created program id. - Extends async methods
for_replyandfor_reply_asfor sending methods.