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
andfor_reply_as
for sending methods.