Skip to content

Conversation

MalekiRe
Copy link
Collaborator

No description provided.

@MalekiRe MalekiRe requested a review from janhohenheim May 25, 2025 17:08
@@ -175,6 +175,31 @@ Now try changing that string at runtime and then check your logs!
Note that changing the `greet` function's signature at runtime by e.g. adding a new parameter will still require a restart.
In general, you can only change the code *inside* the function at runtime. See the *Advanced Usage* section for more.

## Alternative Method
Copy link
Member

@janhohenheim janhohenheim May 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add its caveats? I think Resources and Local / EventReaders should be noted there

@@ -175,6 +175,31 @@ Now try changing that string at runtime and then check your logs!
Note that changing the `greet` function's signature at runtime by e.g. adding a new parameter will still require a restart.
In general, you can only change the code *inside* the function at runtime. See the *Advanced Usage* section for more.

## Alternative Method
```rust,ignore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To keep the readme slim, can we put this behind <details>?

}
```

This method allows you to add/remove new systems at runtime. See `examples/add_systems` for more info.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also worth noting that you're allowed to change signatures at runtime, too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants