watch_dir
Description:
Installs a watch on all the keys under key_prefix: callback will be invoked whenever the value of any of these keys
changes (or a key is removed).
Parameters:
| this |
the Account. |
| key_prefix |
the prefix of the keys to watch. |
| callback |
a AccountNotifyCb callback to be called. |
| user_data |
pointer to user data, to be passed to |
Returns:
|
a AccountWatch, which can then be used to remove this watch. |