Skip to content

Commit 753ce39

Browse files
committed
Update horizon-0-40-0-rc2.md
1 parent 0d33bce commit 753ce39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/blogs/horizon-0-40-0-rc2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ events.on_gorc_client("SpaceShip", 2, "fire_weapons",
693693
1. **Event Handler Signatures**: All event handlers now receive structured parameters instead of raw byte arrays
694694
2. **GORC Object Definition**: Objects must now implement `GorcZoneData` traits instead of string-based channel definitions
695695
3. **Async Runtime**: Plugins must use the provided `luminal::Handle` instead of spawning their own Tokio runtime they can get this using `let luminal_handle = context.luminal_handle();`:
696-
```rs
696+
```rust
697697
async fn register_handlers(
698698
&mut self,
699699
events: Arc<EventSystem>,

0 commit comments

Comments
 (0)