Crate gstd_codegen

Source
Expand description

Provides macros for async runtime of Gear programs.

Macros§

actor_id
Macro to declare ActorId from hexadecimal and ss58 format.

Attribute Macros§

async_init
Mark async function to be the program initialization method.
async_main
Mark the main async function to be the program entry point.
wait_create_program_for_reply
Similar to wait_for_reply, but works with functions that create programs: It returns a message id with a newly created program id.
wait_for_reply
Extends async methods for_reply and for_reply_as for sending methods.