Skip to content

Commit

Permalink
Update doc/contributing/adding-v8-fast-api.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aviv Keller <[email protected]>
  • Loading branch information
Ceres6 and RedYetiDev authored Sep 24, 2024
1 parent a5a555c commit 41522d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/contributing/adding-v8-fast-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for example, they may not trigger garbage collection.
* The fast callback must be idempotent up to the point where error and fallback
conditions are checked, because otherwise executing the slow callback might
produce visible side effects twice.
* If the receiver is used in the callback it must be passed as a second argument
* If the receiver is used in the callback, it must be passed as a second argument,
leaving the first one unused, to prevent the JS land from accidentally omitting the receiver when
invoking the fast API method.

Expand Down

0 comments on commit 41522d4

Please sign in to comment.