Client-side callbacks for pattern matching

Hi,

I was wondering if there is some documentation on how to do client-side callbacks for pattern-matching callbacks?

Thanks

Holger