How do you bind to a State Tree Task's event dispatcher?

I noticed you can have Event Dispatchers in State Tree Tasks. But how, and from where can you bind to one?

Thanks.