Once you’re comfortable creating simple functions you can create a function with custom syntax. We use this functionality to provide our counters that have their own syntax.
You can view our sqrl-redis-functions
package for examples on how they were defined.
1 | registry.registerCustom(function count( |
You are responsible for parsing the features and any values inside the provided argument source.