All actors must respond to the core HealthCheckRequest
message with either an Err
or a HealthCheckResponse
. The following is an example of what an actor looks like
that only responds to the health check message:
```rust use wapc_guest::HandlerResult; use actorcore::{HealthCheckRequest, HealthCheckResponse, Handlers};
#[nomangle] pub fn wapcinit() { Handlers::registerhealthrequest(health); }
fn health(_msg: HealthCheckRequest) -> HandlerResult