mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 09:50:10 +00:00
updated docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8f259d21fe
commit
fa54132b48
@ -461,7 +461,7 @@ in the following order:
|
|||||||
really necessary.
|
really necessary.
|
||||||
|
|
||||||
|
|
||||||
#### 3. `.__call__` action / handler
|
#### 3. `.__actioncall__` action / handler
|
||||||
|
|
||||||
This action if defined is called for every action called. It behaves
|
This action if defined is called for every action called. It behaves
|
||||||
like any other action but with a fixed signature, it always receives
|
like any other action but with a fixed signature, it always receives
|
||||||
@ -471,7 +471,7 @@ the second arguments, and as normal a result on the post phase.
|
|||||||
**Notes:**
|
**Notes:**
|
||||||
- it is not necessary to define the actual action, binding to a
|
- it is not necessary to define the actual action, binding to a
|
||||||
handler will also work.
|
handler will also work.
|
||||||
- one should not call actions directly from within a __call__
|
- one should not call actions directly from within a __actioncall__
|
||||||
handler as that will result in infinite recursion.
|
handler as that will result in infinite recursion.
|
||||||
- one should use this with extreme care as this will introduce
|
- one should use this with extreme care as this will introduce
|
||||||
an overhead on all the actions if not done carefully.
|
an overhead on all the actions if not done carefully.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user