instrument (name, _payload, callback, binding) private
Notifies event's subscribers, calls before
and after
hooks.
Parameters:
-
name
[String]
- Namespaced event name.
-
_payload
Object
-
callback
Function
- Function that you're instrumenting.
-
binding
Object
- Context that instrument function is called with.
Please login to continue.