Skip to content

Commit

Permalink
docs: add note
Browse files Browse the repository at this point in the history
  • Loading branch information
jolexxa committed Sep 23, 2023
1 parent f1e846b commit 5efe8f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ By calling `Provide()` from `_Ready` in provider nodes, you ensure that the orde

By following the `Provide()` on `_Ready` convention, you guarantee all dependent nodes receive an `OnResolved` callback before the first process invocation occurs, guaranteeing that nodes are setup before frame processing begins ✨.

> If your provider is also a dependent, you can call `Provide` from `OnResolved` to allow it to provide dependencies to its subtree, which still guarantees that dependency resolution happens before frame processing begins. Just don't wait until processing has started to call `Provide` from your providers!
>
> In general, dependents should have access to their dependencies **before** frame processing callbacks are invoked on them.
---

🐣 Package generated from a 🐤 Chickensoft Template — <https://chickensoft.games>
Expand Down

0 comments on commit 5efe8f7

Please sign in to comment.