Action callbacks should utilize keyed parameters #5

Open
opened 2026-05-24 22:56:18 +00:00 by mikael-lovqvist · 0 comments

Action callbacks are getting more and more parameters, and you may also want to send additional context from the application through as well in cases where you do not want to depend on closures.

Typical fields would be

  • Reduction system
  • Reduction candidate
  • User supplied context

That's fewer than before but this is because most are carried in the reduction candidate.

Action callbacks are getting more and more parameters, and you may also want to send additional context from the application through as well in cases where you do not want to depend on closures. Typical fields would be - Reduction system - Reduction candidate - User supplied context That's fewer than before but this is because most are carried in the reduction candidate.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: efforting.tech/nodejs.esm-library#5