Skip to content

Commit 3ba52d7

Browse files
committed
Fix HookRegistrar javadocs
1 parent 255d9d5 commit 3ba52d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bosk-core/src/main/java/works/bosk/HookRegistrar.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)