Angular Custom Widget

Hello everyone, I’m working with the refinement list and created a custom widget. Is there any way through which I get an event every time I get a response from the state?
For example, I want to sort the list manually after i get the state but there is no event which tells me that state is updated.