> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionOnAbstractEventUnsubscribed

# on Abstract\_EventUnsubscribed (obsolete)

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE

## Function Syntax

```
on Abstract_EventUnsubscribed <Event>;
```

## Description

The event procedure is called at the provider when an event is unsubscribed by a consumer and abstract binding is used.

## Parameters

* **`<event>`**: Designates the event on which the event procedure shall react. This must be a provider endpoint.

## Selectors

* **consumer**: Consumer, the type is [eventConsumerRef \*](../Objects/CAPLfunctionEventConsumerRef.md)

## Example

```plaintext theme={null}
on Abstract_EventUnsubscribed MirrorAdjustment[LeftMirror].CurrentPosition
{
  write("Event unsubscribed by %s", this.consumer.Name);
}
```

[Programming with the Communication Concept (C#, Python and CAPL)](../../../CANoeCANalyzer/CommunicationConcept/Programming/CCP.md) • [on Abstract\_EventSubscribed](CAPLfunctionOnAbstractEventSubscribed.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.