I just helped a user who would like to create client-side callbacks, the function exists but is not documented