-
Notifications
You must be signed in to change notification settings - Fork 0
Best Practices
Andy Boothe edited this page May 12, 2025
·
2 revisions
Worker types are complex, and managing then can be tough. The use of var
is strongly encouraged.
As a rule, we should prefer internal "hook" methods for customziation over parameters, e.g., Function, and encourage subclassing. This simplifies type management and keeps implementations where they belong, "inside" the worker classes, rather than sprinkled throughout the configuration code.