

# Unsubscribe a callback function when an Connect Customer agent workspace contact turns to Pending state
<a name="3P-apps-contact-events-pending-unsub"></a>

Unsubscribes the callback function from Pending event in the Connect Customer agent workspace.

 **Signature** 

```
offPending(handler: ContactPendingHandler)
```

 **Usage** 

```
contactClient.offPending(handler);
```