Attribute Macro wasmcloud_actor_core_derive::init[][src]

#[init]

Marks the actor entry-point function to be executed by wasmcloud

Examples

#[actor::init]
fn init() {
    // Register message handlers...
}