Consumer
Consumer is a generic class that usually means that method has a callback function.
If your method looks something like:
Then the script for this will be:
object.example(obj => {
console.log(obj); // obj is a string
})
Of course, the argument name in callback doesn't matter.