Skip to content

update readme to add section on with_hot_patch#20

Open
MalekiRe wants to merge 1 commit intomainfrom
malek/readme_update
Open

update readme to add section on with_hot_patch#20
MalekiRe wants to merge 1 commit intomainfrom
malek/readme_update

Conversation

@MalekiRe
Copy link
Copy Markdown
Collaborator

No description provided.

@MalekiRe MalekiRe requested a review from janhohenheim May 25, 2025 17:08
Comment thread readme.md
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
Copy Markdown
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

Comment thread readme.md
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
Copy Markdown
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>?

Comment thread readme.md
}
```

This method allows you to add/remove new systems at runtime. See `examples/add_systems` for more info.
Copy link
Copy Markdown
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