File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
bosk-core/src/main/java/works/bosk Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ public interface HookRegistrar {
1111 * <p>
1212 * The <code>scope</code> reference can be parameterized.
1313 * Upon any change to any matching node, or any parent or child of a matching node,
14- * the <code>action </code> will be called with a {@link Bosk.ReadContext} that captures
14+ * the <code>hook </code> will be called with a {@link Bosk.ReadContext} that captures
1515 * the state immediately after the update was applied.
16- * The <code>action </code> will receive an argument that is the <code>scope</code> reference
16+ * The <code>hook </code> will receive an argument that is the <code>scope</code> reference
1717 * with all its parameters (if any) bound.
1818 *
1919 * <p>
2020 * For a given update, hooks are called in the order they were registered.
21- * Updates performed by the <code>action </code> could themselves trigger hooks.
21+ * Updates performed by the <code>hook </code> could themselves trigger hooks.
2222 * Such "hook cascades" are performed in breadth-first order, and are queued
2323 * as necessary to achieve this; hooks are <em>not</em> called recursively.
2424 * Hooks may be called on any thread, including one of the threads that
You can’t perform that action at this time.
0 commit comments