-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌱 Expose handler.MapFunc to allow implementers to test mappers
This is a follow-up from a previous change to the handler package that deprecated the old handler.ToRequestFunc in favor of EnqueueRequestsFromMapFunc. While we still want to prefer using EnqueueRequestsFromMapFunc, this change also exposes the type of MapFunc signature expected. Users can use this type to test their own mappers in unit tests. Signed-off-by: Vince Prignano <[email protected]>
- Loading branch information
Showing
1 changed file
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters